diff options
author | 2023-06-27 10:35:01 -0400 | |
---|---|---|
committer | 2023-07-10 11:00:12 -1000 | |
commit | a86ce68078b200a5dcc263da01154ee926c25188 (patch) | |
tree | 882514d74b9228f92e8d33ce20494f2665c032c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup/cpuset: Inherit parent's load balance state in v2 (diff) | |
download | wireguard-linux-a86ce68078b200a5dcc263da01154ee926c25188.tar.xz wireguard-linux-a86ce68078b200a5dcc263da01154ee926c25188.zip |
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 '')
0 files changed, 0 insertions, 0 deletions