diff options
author | 2023-08-27 08:28:27 -0700 | |
---|---|---|
committer | 2023-09-08 08:42:18 -0700 | |
commit | dfae1eeee9baa12e27f24a223d699326133e366b (patch) | |
tree | 8cbfb41c94536af427335ba65d1dfa2770c06c50 /tools/testing/selftests/bpf/prog_tests/libbpf_str.c | |
parent | selftests/bpf: Remove unnecessary direct read of local percpu kptr (diff) | |
download | wireguard-linux-dfae1eeee9baa12e27f24a223d699326133e366b.tar.xz wireguard-linux-dfae1eeee9baa12e27f24a223d699326133e366b.zip |
selftests/bpf: Add tests for cgrp_local_storage with local percpu kptr
Add a non-sleepable cgrp_local_storage test with percpu kptr. The
test does allocation of percpu data, assigning values to percpu
data and retrieval of percpu data. The de-allocation of percpu
data is done when the map is freed.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230827152827.2001784-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/libbpf_str.c')
0 files changed, 0 insertions, 0 deletions