summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2025-06-25 17:03:55 -0400
committerAlexei Starovoitov <ast@kernel.org>2025-06-25 15:19:36 -0700
commit5e9388f7984a9cc7e659a105113f6ccf0aebedd0 (patch)
tree470fef817609f152f1a28d23bc780984a5d6e08b /rust/helpers/helpers.c
parentfa6f092cc0a02d0fcee37e9e8172eda372a03d33 (diff)
selftests/bpf: adapt one more case in test_lru_map to the new target_free
The below commit that updated BPF_MAP_TYPE_LRU_HASH free target, also updated tools/testing/selftests/bpf/test_lru_map to match. But that missed one case that passes with 4 cores, but fails at higher cpu counts. Update test_lru_sanity3 to also adjust its expectation of target_free. This time tested with 1, 4, 16, 64 and 384 cpu count. Fixes: d4adf1c9ee77 ("bpf: Adjust free target to avoid global starvation of LRU map") Signed-off-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20250625210412.2732970-1-willemdebruijn.kernel@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions