You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"
commit 6f5001d added special handling
for threaded cgroup types. A later contribution added detection for
"domain threaded" as known type, but did not update the handling to
detect this type.
From the original PR;
> Reading cgroup.procs seems to return ENOTSUPP when threaded, so check
> the type of the cg when going to delete and read the relevant file.
An alternative could be to check both variants unconditionally, and to
error if either Manager.Threads or Manager.Procs is non-zero.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
0 commit comments