summaryrefslogtreecommitdiffstats
path: root/samples/bpf/cookie_uid_helper_example.c
diff options
context:
space:
mode:
authorShaohua Li2018-03-27 20:53:21 +0200
committerDaniel Borkmann2018-03-27 22:23:08 +0200
commitb76354cdfefb68bc017065850a34d486887a4f7b (patch)
tree010592775439a8ab382cb55421bb36d92db4a491 /samples/bpf/cookie_uid_helper_example.c
parentMerge branch 'bpf-verifier-log-btf-prep' (diff)
downloadkernel-qcow2-linux-b76354cdfefb68bc017065850a34d486887a4f7b.tar.gz
kernel-qcow2-linux-b76354cdfefb68bc017065850a34d486887a4f7b.tar.xz
kernel-qcow2-linux-b76354cdfefb68bc017065850a34d486887a4f7b.zip
bpf: follow idr code convention
Generally we do a preload before doing idr allocation. This also help improve the allocation success rate in memory pressure. Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/cookie_uid_helper_example.c')
0 files changed, 0 insertions, 0 deletions