commit | 1288aaa2786b1e58c9e88e53f7654d520ebe0f3b | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <martin.lau@kernel.org> | Tue Mar 07 22:59:29 2023 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Mar 10 11:05:29 2023 -0800 |
tree | f24c8960aa30e64692f27c6975bf73745aba0e02 | |
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>