Open danobi opened 5 years ago
Reported in #61
@danobi
You can find actual cgroup2 root location in /proc/mounts
:
$ cat /proc/mounts | grep cgroup2
cgroup /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
Perhaps it is worth taking the default cgroup2 root from /proc/mounts
instead of using /sys/fs/cgroup
by default.
Perhaps it is worth taking the default cgroup2 root from /proc/mounts instead of using /sys/fs/cgroup by default.
Oh yeah I like this idea. I'll file a separate issue for this.
Letting oomd be silently run against a cgroup1 hierarchy could lead to subtle issues down the line.