• Waiman Long's avatar
    cgroup/cpuset: Check partition conflict with housekeeping setup · 4a74e418
    Waiman Long authored
    
    
    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: default avatarWaiman Long <longman@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    4a74e418
cpuset.c 137 KB