diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-08-20 03:01:26 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-20 08:51:48 -1000 |
commit | 3c2acae88844e7423a50b5cbe0a2c9d430fcd20c (patch) | |
tree | 0ffeca570860e488d32b874ae9e0b24455fa11ca /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 9414f68d454529ff7e68f0c2aefe0a007060c66a (diff) |
cgroup/cpuset: remove use_parent_ecpus of cpuset
use_parent_ecpus is used to track whether the children are using the
parent's effective_cpus. When a parent's effective_cpus is changed
due to changes in a child partition's effective_xcpus, any child
using parent'effective_cpus must call update_cpumasks_hier. However,
if a child is not a valid partition, it is sufficient to determine
whether to call update_cpumasks_hier based on whether the child's
effective_cpus is going to change. To make the code more succinct,
it is suggested to remove use_parent_ecpus.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions