linux/tools/testing/selftests/bpf/map_tests
Sebastian Andrzej Siewior 6b64128a74 selftests/bpf: Check for PREEMPTION instead of PREEMPT
CONFIG_PREEMPT is a preemtion model the so called "Low-Latency Desktop".
A different preemption model is PREEMPT_RT the so called "Real-Time".
Both implement preemption in kernel and set CONFIG_PREEMPTION.
There is also the so called "LAZY PREEMPT" which the "Scheduler
controlled preemption model". Here we have also preemption in the kernel
the rules are slightly different.

Therefore the testsuite should not check for CONFIG_PREEMPT (as one
model) but for CONFIG_PREEMPTION to figure out if preemption in the
kernel is possible.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20241119161819.qvEcs-n_@linutronix.de
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-11-26 08:55:01 -08:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
array_map_batch_ops.c selftests/bpf: Free the allocated resources after test case succeeds 2022-09-22 16:41:27 -07:00
htab_map_batch_ops.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
lpm_trie_map_batch_ops.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
lpm_trie_map_get_next_key.c selftests/bpf: Add test for trie_get_next_key() 2024-10-29 13:41:41 -07:00
map_in_map_batch_ops.c selftests/bpf: Fix compiler warnings reported in -O2 mode 2023-10-06 20:17:28 +02:00
map_percpu_stats.c bpf/selftests: Check errno when percpu map value size exceeds 2024-09-11 13:22:45 -07:00
sk_storage_map.c selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c 2024-07-29 15:05:07 -07:00
task_storage_map.c selftests/bpf: Check for PREEMPTION instead of PREEMPT 2024-11-26 08:55:01 -08:00