diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-07-11 16:24:00 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-12 07:57:18 -0700 |
commit | c21de5fc5ffde70b21e4f370aebad79a7d7bdc0d (patch) | |
tree | 0d46394bd4c11858edd577b0299d495584bb7cbf /io_uring/xattr.c | |
parent | f42bcd168d034aa8abd9178c430b407be8c98827 (diff) |
selftests/bpf: extend existing map resize tests for per-cpu use case
Add a per-cpu array resizing use case and demonstrate how
bpf_get_smp_processor_id() can be used to directly access proper data
with no extra checks.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230711232400.1658562-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'io_uring/xattr.c')
0 files changed, 0 insertions, 0 deletions