diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-07 22:59:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 11:05:29 -0800 |
commit | 1288aaa2786b1e58c9e88e53f7654d520ebe0f3b (patch) | |
tree | f24c8960aa30e64692f27c6975bf73745aba0e02 /kernel/params.c | |
parent | c0d63f309186d8492577c67c67984c714b6b72bc (diff) |
bpf: Add bpf_local_storage_rcu callback
The existing bpf_local_storage_free_rcu is renamed to
bpf_local_storage_free_trace_rcu. A new bpf_local_storage_rcu
callback is added to do the kfree instead of using kfree_rcu.
It is a preparation work for a later patch using
bpf_mem_cache_alloc/free.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20230308065936.1550103-11-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions