diff options
author | Feng Zhou <zhoufeng.zf@bytedance.com> | 2022-05-11 17:38:53 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-05-11 18:16:54 -0700 |
commit | 07343110b293456d30393e89b86c4dee1ac051c8 (patch) | |
tree | 61054fae2b7d0c6ea163a0eeaf272501f1ba470f /mm/memremap.c | |
parent | 571b8739dd6df6d41bdcc83ed50b481a27af912c (diff) |
bpf: add bpf_map_lookup_percpu_elem for percpu map
Add new ebpf helpers bpf_map_lookup_percpu_elem.
The implementation method is relatively simple, refer to the implementation
method of map_lookup_elem of percpu map, increase the parameters of cpu, and
obtain it according to the specified cpu.
Signed-off-by: Feng Zhou <zhoufeng.zf@bytedance.com>
Link: https://lore.kernel.org/r/20220511093854.411-2-zhoufeng.zf@bytedance.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'mm/memremap.c')
0 files changed, 0 insertions, 0 deletions