summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2023-06-27 17:35:02 +0300
committerTejun Heo <tj@kernel.org>2023-07-11 00:01:03 +0300
commit99fe36ba6fc16aa0962bc1f41ebcdec696203889 (patch)
tree1812ad65554d3291c9399c87c0674cb009e83c70 /tools/perf/scripts/python/export-to-postgresql.py
parenta86ce68078b200a5dcc263da01154ee926c25188 (diff)
downloadlinux-99fe36ba6fc16aa0962bc1f41ebcdec696203889.tar.xz
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions