diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-11-19 19:18:19 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-11-26 19:55:01 +0300 |
commit | 6b64128a74ebcacc5a0de5a74834e3b9f47a354c (patch) | |
tree | ac7247b2e89a8bfd666de0226fee9b2d2c7f152f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ef3ba8c258ee368a5343fa9329df85b4bcb9e8b5 (diff) | |
download | linux-6b64128a74ebcacc5a0de5a74834e3b9f47a354c.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions