diff options
author | Waiman Long <longman@redhat.com> | 2023-09-05 15:32:41 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-09-18 22:32:31 +0200 |
commit | 4a74e418881f26cdeae1011453acd66cedc8ad2c (patch) | |
tree | 5125ea7d7b7e127074ef8b2dba1070196f958462 /kernel/cgroup/debug.c | |
parent | cgroup/cpuset: Introduce remote partition (diff) | |
download | linux-4a74e418881f26cdeae1011453acd66cedc8ad2c.tar.xz linux-4a74e418881f26cdeae1011453acd66cedc8ad2c.zip |
cgroup/cpuset: Check partition conflict with housekeeping setup
A user can pre-configure certain CPUs in an isolated state at boot time
with the "isolcpus" kernel boot command line option. Those CPUs will
not be in the housekeeping_cpumask(HK_TYPE_DOMAIN) and so will not
be in any sched domains. This may conflict with the partition setup
at runtime. Those boot time isolated CPUs should only be used in an
isolated partition.
This patch adds the necessary check and disallows partition setup if the
check fails.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/debug.c')
0 files changed, 0 insertions, 0 deletions