]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/timers/posix-timers: Add a test for exact allocation mode
authorThomas Gleixner <tglx@linutronix.de>
Mon, 10 Mar 2025 08:11:42 +0000 (09:11 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 13 Mar 2025 11:07:18 +0000 (12:07 +0100)
commit8e63360d869913265e5e4b623dcd23feff9fd000
treeee7e3eec1f584a8d3f0d1365b105689f373eb0ed
parentec2d0c04624b3c8a7eb1682e006717fa20cfbe24
selftests/timers/posix-timers: Add a test for exact allocation mode

The exact timer ID allocation mode is used by CRIU to restore timers with a
given ID. Add a test case for it.

It's skipped on older kernels when the prctl() fails.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/all/8734fl2tkx.ffs@tglx
tools/testing/selftests/timers/posix_timers.c