]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/rseq: Implement time slice extension test
authorThomas Gleixner <tglx@linutronix.de>
Mon, 15 Dec 2025 16:52:34 +0000 (17:52 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 22 Jan 2026 10:11:19 +0000 (11:11 +0100)
commit830969e7821af377bdc1bb016929ff28c78490e8
tree2e8536f9ed6a07734e6fc1c4ac5ae936c340b751
parent3c78aaec19b0621bf952756670c8b066a55202fe
selftests/rseq: Implement time slice extension test

Provide an initial test case to evaluate the functionality. This needs to be
extended to cover the ABI violations and expose the race condition between
observing granted and arriving in rseq_slice_yield().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251215155709.320325431@linutronix.de
tools/testing/selftests/rseq/.gitignore
tools/testing/selftests/rseq/Makefile
tools/testing/selftests/rseq/rseq-abi.h
tools/testing/selftests/rseq/slice_test.c [new file with mode: 0644]