• Waiman Long's avatar
    cgroup/cpuset: Take isolated CPUs out of workqueue unbound cpumask · 72c6303a
    Waiman Long authored
    To make CPUs in isolated cpuset partition closer in isolation to
    the boot time isolated CPUs specified in the "isolcpus" boot command
    line option, we need to take those CPUs out of the workqueue unbound
    cpumask so that work functions from the unbound workqueues won't run
    on those CPUs.  Otherwise, they will interfere the user tasks running
    on those isolated CPUs.
    
    With the introduction of the workqueue_unbound_exclude_cpumask() helper
    function in an earlier commit, those isolated CPUs can now be taken
    out from the workqueue unbound cpumask.
    
    This patch also updates cgroup-v2.rst to mention that isolated
    CPUs will be excluded from unbound workqueue cpumask as well as
    updating test_cpuset_prs.sh to verify the correctness of the new
    *cpuset.cpus.isolated file, if available via cgroup_debug option.
    Signed-off-by: default avatarWaiman Long <longman@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    72c6303a
cgroup-v2.rst 114 KB