aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2024-08-30 10:02:21 +0000
committerTejun Heo <tj@kernel.org>2024-08-30 10:00:15 -1000
commit047b830974488f39e320a3f7403890762e527d27 (patch)
tree9b7bb4857523ed515f87d49b8ba8804903d0e0d5 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parent49434094efbbe360dd7fcf934fef239a01a95bb7 (diff)
cgroup/cpuset: move relax_domain_level to cpuset-v1.c
Setting domain level is not supported at cpuset v2, so move corresponding code into cpuset-v1.c. The 'cpuset_write_s64' and 'cpuset_read_s64' are only used for setting domain level, move them to cpuset-v1.c. Currently, expose to cpuset.c. After cpuset legacy interface files are move to cpuset-v1.c, they can be static. The 'rebuild_sched_domains_locked' is exposed to cpuset-v1.c. The change from original code is that using 'cpuset_lock' and 'cpuset_unlock' functions to lock or unlock cpuset_mutex. Signed-off-by: Chen Ridong <chenridong@huawei.com> Acked-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