aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2024-08-20 03:01:25 +0000
committerTejun Heo <tj@kernel.org>2024-08-20 08:51:34 -1000
commit9414f68d454529ff7e68f0c2aefe0a007060c66a (patch)
tree5ae58a3d31080f94bfd4a34083670c183edb38fe /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parente55f45b4bafee0ef488e815aa88368444ec5c79c (diff)
cgroup/cpuset: remove fetch_xcpus
Both fetch_xcpus and user_xcpus functions are used to retrieve the value of exclusive_cpus. If exclusive_cpus is not set, cpus_allowed is the implicit value used as exclusive in a local partition. I can not imagine a scenario where effective_xcpus is not empty when exclusive_cpus is empty. Therefore, I suggest removing the fetch_xcpus function. 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