mbox series

[net-next,0/3] bpf: Improve LRU map lookup performance

Message ID 20170901062713.1842249-1-kafai@fb.com
Headers show
Series bpf: Improve LRU map lookup performance | expand

Message

Martin KaFai Lau Sept. 1, 2017, 6:27 a.m. UTC
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(-)

Comments

David Miller Sept. 1, 2017, 4:57 p.m. UTC | #1
From: Martin KaFai Lau <kafai@fb.com>
Date: Thu, 31 Aug 2017 23:27:10 -0700

> This patchset improves the lookup performance of the LRU map.
> Please see individual patch for details.

Series applied, thanks Martin.