[Devel] [PATCH hci-8.1 v3 0/1] selftests: bpf: fix test_lru_sanity3

Eva Kurchatova eva.kurchatova at virtuozzo.com
Fri Sep 25 18:27:54 MSK 2026


Patchset for tast https://virtuozzo.atlassian.net/browse/VSTOR-139677

Changes in v3:
- Skip the test where __tgt_size(tgt_free) is 0 instead of forcing
  batch_size to 1. With one element per refill the forced shrink on the
  last insert evicts a live key, so v2 failed above 128 cpus, where the
  original test still passed by degenerating.
- Drop assert(__tgt_size(map_size) == batch_size), it holds for every
  batch_size and cpu count and checked nothing.
- Cut the comment above map_size to one line.
- Reword to better understand the cause of the failure.
- Sent alone, the rest of the v2 series is merged.

Link to v2: https://lists.openvz.org/pipermail/devel/2026-September/084969.html

Changes in v2:
- Single spaces in the message, the code is unchanged.

Link to v1: https://lists.openvz.org/pipermail/devel/2026-August/084690.html

Eva Kurchatova (1):
  selftests: bpf: size the map in test_lru_sanity3 to whole refills

 tools/testing/selftests/bpf/test_lru_map.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.55.0



More information about the Devel mailing list