diff options
author | Waiman Long <longman@redhat.com> | 2023-06-27 17:35:03 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-07-11 00:01:23 +0300 |
commit | 3ae0b773211ed0231e7ee3e8d28ec4ab9bc5134b (patch) | |
tree | 8313e7db13ff71d6734d274e6a6737f9e616f0a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 99fe36ba6fc16aa0962bc1f41ebcdec696203889 (diff) | |
download | linux-3ae0b773211ed0231e7ee3e8d28ec4ab9bc5134b.tar.xz |
cgroup/cpuset: Allow suppression of sched domain rebuild in update_cpumasks_hier()
A single partition setup and tear-down operation can lead to
multiple rebuild_sched_domains_locked() calls which is a waste of
effort. This can partly be mitigated by adding a flag to suppress the
rebuild_sched_domains_locked() call in update_cpumasks_hier(). Since
a Boolean flag has already been passed as the 3rd argument to
update_cpumasks_hier(), we can extend that to a full flag word.
The sched domain rebuild suppression is now enabled in
update_sibling_cpumasks() as all it callers will do the sched domain
rebuild after its return later on anyway.
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