diff options
author | Waiman Long <[email protected]> | 2023-06-27 10:35:00 -0400 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2023-07-10 10:59:27 -1000 |
commit | c8c926200c55454101f072a4b16c9ff5b8c9e56f (patch) | |
tree | 226839aafe1d519db1140ef22ec6cadc01c190ac /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 868f87b3759bb7bedb081fdd40ef8d143c003fa6 (diff) |
cgroup/cpuset: Inherit parent's load balance state in v2
Since commit f28e22441f35 ("cgroup/cpuset: Add a new isolated
cpus.partition type"), the CS_SCHED_LOAD_BALANCE bit of a v2 cpuset
can be on or off. The child cpusets of a partition root must have the
same setting as its parent or it may screw up the rebuilding of sched
domains. Fix this problem by making sure the a child v2 cpuset will
follows its parent cpuset load balance state unless the child cpuset
is a new partition root itself.
Fixes: f28e22441f35 ("cgroup/cpuset: Add a new isolated cpus.partition type")
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions