bpf: Improve LRU map lookup performance
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: Add lru_hash_lookup performance testsamples/ samples/ | +112 | 2 replies | |
| 2/3 | bpf: Inline LRU map lookupkernel/ | +19 | 2 replies | |
| 3/3 | bpf: Only set node->ref = 1 if it has not been setkernel/ kernel/ | +8 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Borkmann | Alexei Starovoitov |
|---|---|---|
| 1/3 | A-b | A-b |
| 2/3 | A-b | A-b |
| 3/3 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] bpf: Improve LRU map lookup performance
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(-)
Signature · 1 line
2.9.5