aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2022-08-10 15:18:29 +0000
committerAlexei Starovoitov <[email protected]>2022-08-10 18:50:43 +0000
commit73cf09a36bf7bfb3e5a3ff23755c36d49137c44d (patch)
treef546110b5613a3f17a084eb00b9b242402986e85 /tools/lib/bpf/bpf.c
parentbpf: Make __GFP_NOWARN consistent in bpf map creation (diff)
downloadkernel-73cf09a36bf7bfb3e5a3ff23755c36d49137c44d.tar.gz
kernel-73cf09a36bf7bfb3e5a3ff23755c36d49137c44d.zip
bpf: Use bpf_map_area_alloc consistently on bpf map creation
Let's use the generic helper bpf_map_area_alloc() instead of the open-coded kzalloc helpers in bpf maps creation path. Signed-off-by: Yafang Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions