]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Revert "gunit/test-015: Populate subtree_control for leaf cgroup"
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 12 Apr 2023 09:34:19 +0000 (09:34 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Apr 2023 17:07:05 +0000 (11:07 -0600)
commitf15c995d56be0c13b03ea9ca43919cca261be9b6
treeefbf152ed924962f9989becad3440963cbffef4c
parentc25424bdaa1c5227c640321cf308a094c913e6a9
Revert "gunit/test-015: Populate subtree_control for leaf cgroup"

This reverts commit 328ec5e8e4f00790cb91f81ff53f2cdd42d0106f.

Revert the logic to rely on the leaf cgroup node's subtree_control file
to examine the enabled controllers, this breaks the cgroup v2's no
internal process constraint and fallback to the original idea of relying
upon on leaf cgroup nodes, parent subtree_control to examine the enabled
controllers.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/gunit/015-cgroupv2_controller_enabled.cpp