]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/timers/posix_timers: Test delivery of signals across threads
authorDmitry Vyukov <dvyukov@google.com>
Thu, 16 Mar 2023 12:30:28 +0000 (13:30 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 16 Apr 2023 07:00:18 +0000 (09:00 +0200)
commite797203fb3ba8c0ed2f4a8800d626c9d54fedfbf
tree8b14fe132c7281f869b3727095ac60888b1ad7ee
parentbcb7ee79029dcaeb09668a4d1489de256829a7cc
selftests/timers/posix_timers: Test delivery of signals across threads

Test that POSIX timers using CLOCK_PROCESS_CPUTIME_ID eventually deliver
a signal to all running threads.  This effectively tests that the kernel
doesn't prefer any one thread (or subset of threads) for signal delivery.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230316123028.2890338-2-elver@google.com
tools/testing/selftests/timers/posix_timers.c