summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-11-19 17:18:19 +0100
committerAlexei Starovoitov <ast@kernel.org>2024-11-26 08:55:01 -0800
commit6b64128a74ebcacc5a0de5a74834e3b9f47a354c (patch)
treeac7247b2e89a8bfd666de0226fee9b2d2c7f152f /lib/mpi
parentef3ba8c258ee368a5343fa9329df85b4bcb9e8b5 (diff)
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>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions