diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2023-10-10 12:42:34 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-10-10 12:50:09 -0500 |
commit | 965de92b37cbe8d8670f6cc956e1d10677551e19 (patch) | |
tree | dab61cce2a6a42327a7e66f10cd18ec71303f03d /sh/rc-cgroup.sh | |
parent | b85d771e1f90e56008be5a0f2d9f986648c689f4 (diff) |
change default RC_CGROUP_MODE to unified
This improves resource management by assigning services to individual
cgroups.
X-Gentoo-Bug: https://bugs.gentoo.org/914972
Diffstat (limited to 'sh/rc-cgroup.sh')
-rw-r--r-- | sh/rc-cgroup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-cgroup.sh b/sh/rc-cgroup.sh index c99282fc..e5c7ae7f 100644 --- a/sh/rc-cgroup.sh +++ b/sh/rc-cgroup.sh @@ -154,7 +154,7 @@ cgroup_set_limits() cgroup2_find_path() { if grep -qw cgroup2 /proc/filesystems; then - case "${rc_cgroup_mode:-hybrid}" in + case "${rc_cgroup_mode:-unified}" in hybrid) printf "/sys/fs/cgroup/unified" ;; unified) printf "/sys/fs/cgroup" ;; esac |