aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2023-06-27 10:35:02 -0400
committerTejun Heo <tj@kernel.org>2023-07-10 11:01:03 -1000
commit99fe36ba6fc16aa0962bc1f41ebcdec696203889 (patch)
tree1812ad65554d3291c9399c87c0674cb009e83c70 /tools/perf/scripts/python/export-to-postgresql.py
parentcgroup/cpuset: Extract out CS_CPU_EXCLUSIVE & CS_SCHED_LOAD_BALANCE handling (diff)
downloadwireguard-linux-99fe36ba6fc16aa0962bc1f41ebcdec696203889.tar.xz
wireguard-linux-99fe36ba6fc16aa0962bc1f41ebcdec696203889.zip
cgroup/cpuset: Improve temporary cpumasks handling
The limitation that update_parent_subparts_cpumask() can only use addmask & delmask in the given tmp cpumasks is fragile and may lead to unexpected error. Fix this problem by allocating/freeing a struct tmpmasks in update_cpumask() to avoid reusing the cpumasks in trial_cs. With this change, we can move the update_tasks_cpumask() for the parent and update_sibling_cpumasks() for the sibling to inside update_parent_subparts_cpumask(). Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions