diff options
author | 2023-07-11 16:24:00 -0700 | |
---|---|---|
committer | 2023-07-12 07:57:18 -0700 | |
commit | c21de5fc5ffde70b21e4f370aebad79a7d7bdc0d (patch) | |
tree | 0d46394bd4c11858edd577b0299d495584bb7cbf /include/linux/rcutiny.h | |
parent | bpf: teach verifier actual bounds of bpf_get_smp_processor_id() result (diff) | |
download | wireguard-linux-c21de5fc5ffde70b21e4f370aebad79a7d7bdc0d.tar.xz wireguard-linux-c21de5fc5ffde70b21e4f370aebad79a7d7bdc0d.zip |
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 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions