Home
last modified time | relevance | path

Searched hist:"7 e30a8477b0bdd13dfd0b24e4f32b26d22b96e6c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.cdiff 7e30a8477b0bdd13dfd0b24e4f32b26d22b96e6c Wed Mar 08 00:59:30 CST 2023 Martin KaFai Lau <martin.lau@kernel.org> bpf: Add bpf_local_storage_free()

This patch refactors local_storage freeing logic into
bpf_local_storage_free(). It is a preparation work for a later
patch that uses bpf_mem_cache_alloc/free. The other kfree(local_storage)
cases are also changed to bpf_local_storage_free(..., reuse_now = true).

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20230308065936.1550103-12-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>