diff options
author | Waiman Long <longman@redhat.com> | 2023-06-27 17:35:01 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-07-11 00:00:12 +0300 |
commit | a86ce68078b200a5dcc263da01154ee926c25188 (patch) | |
tree | 882514d74b9228f92e8d33ce20494f2665c032c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c8c926200c55454101f072a4b16c9ff5b8c9e56f (diff) | |
download | linux-a86ce68078b200a5dcc263da01154ee926c25188.tar.xz |
cgroup/cpuset: Extract out CS_CPU_EXCLUSIVE & CS_SCHED_LOAD_BALANCE handling
Extract out the setting of CS_CPU_EXCLUSIVE and CS_SCHED_LOAD_BALANCE
flags as well as the rebuilding of scheduling domains into the new
update_partition_exclusive() and update_partition_sd_lb() helper
functions to simplify the logic. The update_partition_exclusive()
helper is called mainly at the beginning of the caller, but it may be
called at the end too. The update_partition_sd_lb() helper is called
at the end of the caller.
This patch should reduce the chance that cpuset partition will end up
in an incorrect state.
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