diff options
author | Alexei Starovoitov <ast@fb.com> | 2017-03-16 04:26:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-17 06:44:11 +0300 |
commit | 9015d2f5953590e8273392b44c2b0f864350b427 (patch) | |
tree | bad1c229a12db8e440546287aaa4d352bc36f0c4 /samples/bpf/map_perf_test_kern.c | |
parent | 81ed18ab3098b6519274545e80a29caacb77d160 (diff) | |
download | linux-9015d2f5953590e8273392b44c2b0f864350b427.tar.xz |
bpf: inline htab_map_lookup_elem()
Optimize:
bpf_call
bpf_map_lookup_elem
map->ops->map_lookup_elem
htab_map_lookup_elem
__htab_map_lookup_elem
into:
bpf_call
__htab_map_lookup_elem
to improve performance of JITed programs.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/map_perf_test_kern.c')
0 files changed, 0 insertions, 0 deletions