]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Revert "api: cgroup v2 – enable controller at the leaf node"
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 12 Apr 2023 14:49:45 +0000 (20:19 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Apr 2023 17:07:05 +0000 (11:07 -0600)
commit9479fedff122ea44c887efafde2aaa3a51f0c623
tree21591ff8f75a5c0af5476a39888448fa568e6fce
parented568ec5ac793ac1808e73af1a76a1adcc083fc5
Revert "api: cgroup v2 – enable controller at the leaf node"

This reverts commit bb291add5db87fe36a82a18c6eb6aaf64dc07694.

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, so that they don't compete with
the parent's internal process. This patch broke this rule by enabling
the controller on the leaf node by default. Let's revert to the original
approach of not enabling the controller on the leaf cgroup node.

Signed-by-off: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/api.c