aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2023-09-05 09:32:41 -0400
committerTejun Heo <[email protected]>2023-09-18 10:32:31 -1000
commit4a74e418881f26cdeae1011453acd66cedc8ad2c (patch)
tree5125ea7d7b7e127074ef8b2dba1070196f958462 /tools/perf/util/trace-event-scripting.c
parent181c8e091aae11b0b7efba49b34adfe3c89ce648 (diff)
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions