summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2024-08-20 22:55:35 +0300
committerTejun Heo <tj@kernel.org>2024-08-30 22:23:39 +0300
commitc188f33c864e3dba49a1ad0dc9fddf2f49ac42ae (patch)
tree18986282bdeb8bab13a236e192e00c0a49b7d133 /tools/perf/scripts/python
parent3c2acae88844e7423a50b5cbe0a2c9d430fcd20c (diff)
downloadlinux-c188f33c864e3dba49a1ad0dc9fddf2f49ac42ae.tar.xz
cgroup/cpuset: Account for boot time isolated CPUs
With the "isolcpus" boot command line parameter, we are able to create isolated CPUs at boot time. These isolated CPUs aren't fully accounted for in the cpuset code. For instance, the root cgroup's "cpuset.cpus.isolated" control file does not include the boot time isolated CPUs. Fix that by looking for pre-isolated CPUs at init time. The prstate_housekeeping_conflict() function does check the HK_TYPE_DOMAIN housekeeping cpumask to make sure that CPUs outside of it can only be used in isolated partition. Given the fact that we are going to make housekeeping cpumasks dynamic, the current check may not be right anymore. Save the boot time HK_TYPE_DOMAIN cpumask and check against it instead of the upcoming dynamic HK_TYPE_DOMAIN housekeeping cpumask. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions