This patchset improves the lookup performance of the LRU map. Please see individual patch for details.
Martin KaFai Lau (3): bpf: Add lru_hash_lookup performance test bpf: Inline LRU map lookup bpf: Only set node->ref = 1 if it has not been set kernel/bpf/bpf_lru_list.h | 3 +- kernel/bpf/hashtab.c | 24 +++++++++++++ samples/bpf/map_perf_test_kern.c | 44 +++++++++++++++++++---- samples/bpf/map_perf_test_user.c | 77 ++++++++++++++++++++++++++++++++++++++-- 4 files changed, 138 insertions(+), 10 deletions(-) -- 2.9.5