cgroup, docs: Clarify limitation of RT processes with cgroup v2 cpu controller
authorWaiman Long <longman@redhat.com>
Wed, 20 Mar 2024 14:23:02 +0000 (10:23 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 25 Mar 2024 20:10:15 +0000 (10:10 -1000)
commit20d46283f5d679338ec2bbd734f46f900557fb97
tree38980c2c3ced6a3718678ea4396090d782340b6c
parent4cece764965020c22cff7665b18a012006359095
cgroup, docs: Clarify limitation of RT processes with cgroup v2 cpu controller

The limitation that all RT processes have to be in the root cgroup
before enabling cpu controller only applies if the CONFIG_RT_GROUP_SCHED
option is enabled in the running kernel. If a kernel does not have
CONFIG_RT_GROUP_SCHED enabled, RT processes can exist in a non-root
cgroup even when cpu controller is enabled. CPU sharing of RT processes
will not be under cgroup control, but other resources like memory can be.

Clarify this limitation to avoid confusion to users that are using
cgroup v2.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/cgroup-v2.rst