commit | b76354cdfefb68bc017065850a34d486887a4f7b | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Tue Mar 27 11:53:21 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Mar 27 22:23:08 2018 +0200 |
tree | 010592775439a8ab382cb55421bb36d92db4a491 | |
parent | 2abb5fad3a9336ea02bf832175b9e4fd5b946e47 [diff] |
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>