From 965de92b37cbe8d8670f6cc956e1d10677551e19 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 10 Oct 2023 12:42:34 -0500 Subject: 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 --- sh/rc-cgroup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3