aboutsummaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2017-08-31 23:27:11 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-01 09:57:38 -0700
commit637cd8c312d8caf234821fd37238b8f956d9ab13 (patch)
treeb422830fb0c110f940499c839b3cb1e2f2ef1f67 /block/mq-deadline.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next (diff)
downloadlinux-dev-637cd8c312d8caf234821fd37238b8f956d9ab13.tar.xz
linux-dev-637cd8c312d8caf234821fd37238b8f956d9ab13.zip
bpf: Add lru_hash_lookup performance test
Create a new case to test the LRU lookup performance. At the beginning, the LRU map is fully loaded (i.e. the number of keys is equal to map->max_entries). The lookup is done through key 0 to num_map_entries and then repeats from 0 again. This patch also creates an anonymous struct to properly name the test params in stress_lru_hmap_alloc() in map_perf_test_kern.c. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions