summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sched_ext/Makefile
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-28 14:18:56 -1000
committerTejun Heo <tj@kernel.org>2026-03-30 08:37:55 -1000
commit090d34f0f0285124452373225bcc520a31e305e4 (patch)
treeaf8c7ca6fb76ba4a75ef3478624a4a0e6ccec2a5 /tools/testing/selftests/sched_ext/Makefile
parent415cb193bb9736f0e830286c72a6fa8eb2a9cc5c (diff)
selftests/sched_ext: Add cyclic SCX_KICK_WAIT stress test
Add a test that creates a 3-CPU kick_wait cycle (A->B->C->A). A BPF scheduler kicks the next CPU in the ring with SCX_KICK_WAIT on every enqueue while userspace workers generate continuous scheduling churn via sched_yield(). Without the preceding fix, this hangs the machine within seconds. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Christian Loehle <christian.loehle@arm.com> Tested-by: Christian Loehle <christian.loehle@arm.com>
Diffstat (limited to 'tools/testing/selftests/sched_ext/Makefile')
-rw-r--r--tools/testing/selftests/sched_ext/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/sched_ext/Makefile b/tools/testing/selftests/sched_ext/Makefile
index 006300ac6dff..1c9ca328cca1 100644
--- a/tools/testing/selftests/sched_ext/Makefile
+++ b/tools/testing/selftests/sched_ext/Makefile
@@ -188,6 +188,7 @@ auto-test-targets := \
rt_stall \
test_example \
total_bw \
+ cyclic_kick_wait \
testcase-targets := $(addsuffix .o,$(addprefix $(SCXOBJ_DIR)/,$(auto-test-targets)))