]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests-070: avoid enabling controller on leaf cgroup node
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 12 Apr 2023 14:31:01 +0000 (14:31 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Apr 2023 17:07:41 +0000 (11:07 -0600)
commitf8c8cdec334a5eccb44e2a97004b1bb5115a02a2
treed1f8353127c8d2d15514069191133f1e7f9e43fb
parent612bd63adf98d0947edd8d8dcecf8af83589b2ef
ftests-070: avoid enabling controller on leaf cgroup node

cgroup v2, has no internal process constraint, where the process runs
only on the leaf node of the cgroup hierarchy and no controllers should
be enabled on the leaf cgroup node too. Let's not enable cpu controller
on the leaf cgroup node.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 65c0b7025758d0802b81c0b42c194758316a2b18)
tests/ftests/070-sudo-systemd_cgxget-cpu-settings-v2.py