linux-yocto/tools/testing/selftests
Willem de Bruijn a4bb7ced4e selftests/bpf: adapt one more case in test_lru_map to the new target_free
commit 5e9388f798 upstream.

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: d4adf1c9ee ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-17 18:35:22 +02:00
..
alsa selftests/alsa: Fix circular dependency involving global-timer 2025-01-17 13:36:11 +01:00
amd-pstate
arm64 kselftest/arm64: abi: fix SVCR detection 2024-12-19 18:11:34 +01:00
bpf selftests/bpf: adapt one more case in test_lru_map to the new target_free 2025-07-17 18:35:22 +02:00
breakpoints selftests: breakpoints: use remaining time to check if suspend succeed 2024-10-10 11:57:41 +02:00
cachestat selftests: cachestat: Fix build warnings on ppc64 2024-07-25 09:50:42 +02:00
capabilities
cgroup selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate 2024-06-12 11:12:00 +02:00
clone3 selftests/clone3: Fix broken test under !CONFIG_TIME_NS 2023-11-28 17:20:05 +00:00
connector
core fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE 2024-08-29 17:33:14 +02:00
cpu-hotplug
cpufreq
damon selftests/damon/sysfs: test damon_target filter 2023-08-21 13:37:37 -07:00
dma
dmabuf-heaps kselftests: dmabuf-heaps: Ensure the driver name is null-terminated 2024-09-12 11:11:38 +02:00
drivers net: netdevsim: try to close UDP port harness races 2025-02-08 09:52:30 +01:00
efivarfs selftests/efivarfs: create-read: fix a resource leak 2023-11-28 17:19:42 +00:00
exec binfmt_elf: Honor PT_LOAD alignment for static PIE 2025-05-22 14:12:11 +02:00
fchmodat2 selftests: link libasan statically for tests with -fsanitize=address 2023-09-19 13:21:32 -07:00
filelock selftests: add OFD lock tests 2023-08-24 10:41:47 -04:00
filesystems selftests/binderfs: use the Makefile's rules, not Make's implicit rules 2024-06-12 11:11:49 +02:00
firmware
fpu
ftrace selftests/ftrace: adjust offset for kprobe syntax error test 2024-12-14 20:00:21 +01:00
futex selftests/futex: futex_waitv wouldblock test should fail 2025-04-25 10:45:05 +02:00
gpio selftests: gpio: gpio-sim: Fix missing chip disablements 2025-02-21 13:57:12 +01:00
hid selftests: hid: fix typo and exit code 2024-12-14 19:59:34 +01:00
ia64
intel_pstate
iommu iommufd: Do not allow creating areas without READ or WRITE 2024-09-04 13:28:24 +02:00
ipc
ir
kcmp selftests/kcmp: remove unused open mode 2024-06-12 11:12:11 +02:00
kexec
kmod
kselftest linux-kselftest-next-6.6-rc2 2023-09-12 09:10:36 -07:00
kvm KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF 2024-06-12 11:11:27 +02:00
landlock landlock: Add the errata interface 2025-04-25 10:45:57 +02:00
lib
livepatch
lkdtm selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config 2023-11-28 17:19:36 +00:00
locking
media_tests
membarrier
memfd selftests/memfd: run sysctl tests when PID namespace support is enabled 2024-12-27 13:58:55 +01:00
memory-hotplug
mincore selftests/mincore: Allow read-ahead pages to reach the end of the file 2025-05-02 07:50:59 +02:00
mm selftests/mm: compaction_test: support platform with huge mount of memory 2025-05-22 14:12:25 +02:00
mount
mount_setattr selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels 2024-12-09 10:32:30 +01:00
move_mount_set_group
mqueue selftests/mqueue: Set timeout to 180 seconds 2024-04-03 15:28:20 +02:00
nci
net bridge: mdb: Allow replace of a host-joined group 2025-06-04 14:42:13 +02:00
netfilter selftests: netfilter: Fix nft_audit.sh for newer nft binaries 2024-10-10 11:57:15 +02:00
nolibc selftests/nolibc: avoid passing NULL to printf("%s") 2024-10-10 11:57:30 +02:00
nsfs
ntb
openat2 selftests/openat2: Fix build warnings on ppc64 2024-07-25 09:50:42 +02:00
perf_events
pid_namespace
pidfd selftests/pidfd: Fix ksft print formats 2023-11-20 11:59:17 +01:00
powerpc selftests/powerpc: Fix argument order to timer_sub() 2025-02-08 09:51:43 +01:00
prctl
proc selftests/proc: fixup proc-empty-vm test after KSM changes 2023-09-19 13:21:33 -07:00
pstore
ptp
ptrace
rcutorture clocksource: Scale the watchdog read retries automatically 2024-08-14 13:58:56 +02:00
resctrl selftests/resctrl: Protect against array overflow when reading strings 2024-12-14 20:00:01 +01:00
riscv tools: selftests: riscv: Fix compile warnings in mm tests 2024-03-01 13:34:48 +01:00
rlimits
rseq rseq/selftests: Fix riscv rseq_offset_deref_addv inline asm 2025-03-07 16:45:48 +01:00
rtc
safesetid
sched
seccomp selftests/seccomp: fix syscall_restart test for arm compat 2025-06-19 15:28:07 +02:00
sgx selftests/sgx: Fix linker script asserts 2024-02-05 20:14:32 +00:00
sigaltstack selftests/sigaltstack: Fix ppc64 GCC build 2024-08-03 08:54:30 +02:00
size
sparc64
splice
static_keys
sync
syscall_user_dispatch selftests: sud_test: return correct emulated syscall value on RISC-V 2024-06-12 11:11:24 +02:00
sysctl
tc-testing selftests: tc-testing: reduce rshift value 2025-01-23 17:21:13 +01:00
tdx
timens selftest/timerns: fix clang build failures for abs() calls 2024-07-25 09:50:55 +02:00
timers selftests: timers: clocksource-switch: Adapt progress to kselftest framework 2025-02-08 09:52:01 +01:00
tmpfs
tpm2
tty
ublk selftests: ublk: fix test_stripe_04 2025-05-02 07:50:57 +02:00
uevent
user
user_events selftests/user_events: Fix abi_test for BE archs 2023-10-17 15:07:19 -06:00
vDSO powerpc/vdso: Flag VDSO64 entry points as functions 2024-12-09 10:32:13 +01:00
watchdog selftests/watchdog-test: Fix system accidentally reset after watchdog-test 2024-12-09 10:31:37 +01:00
wireguard wireguard: selftests: load nf_conntrack if not present 2024-12-09 10:32:12 +01:00
x86 selftests/x86: Add a test to detect infinite SIGTRAP handler loop 2025-06-27 11:08:59 +01:00
zram
.gitignore
gen_kselftest_tar.sh
kselftest_deps.sh selftests: fix dependency checker script 2023-09-08 10:06:49 -06:00
kselftest_harness.h selftests: harness: fix printing of mismatch values in __EXPECT() 2025-02-08 09:52:01 +01:00
kselftest_install.sh
kselftest_module.h
kselftest.h kselftest: Add a ksft_perror() helper 2024-05-25 16:22:53 +02:00
lib.mk selftests: Introduce Makefile variable to list shared bash scripts 2024-10-17 15:24:13 +02:00
Makefile selftests: Introduce Makefile variable to list shared bash scripts 2024-10-17 15:24:13 +02:00
run_kselftest.sh