linux/tools/testing/selftests/futex/functional
André Almeida 7cb5dd8e2c selftests: futex: Add futex compare requeue test
Add testing for futex_cmp_requeue(). The first test just requeues from one
waiter to another one, and wakes it. The second performs both wake and
requeue, and checks the return values to see if the operation woke/requeued
the expected number of waiters.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://lore.kernel.org/r/20210531165036.41468-3-andrealmeid@collabora.com
2021-06-22 11:20:16 +02:00
..
.gitignore selftests: futex: Add futex compare requeue test 2021-06-22 11:20:16 +02:00
futex_requeue.c selftests: futex: Add futex compare requeue test 2021-06-22 11:20:16 +02:00
futex_requeue_pi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
futex_requeue_pi_mismatched_ops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
futex_requeue_pi_signal_restart.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
futex_wait.c selftests: futex: Add futex wait test 2021-06-22 11:20:15 +02:00
futex_wait_private_mapped_file.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
futex_wait_timeout.c selftests: futex: Expand timeout test 2021-05-12 20:44:59 +02:00
futex_wait_uninitialized_heap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
futex_wait_wouldblock.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Makefile selftests: futex: Add futex compare requeue test 2021-06-22 11:20:16 +02:00
run.sh selftests: futex: Add futex compare requeue test 2021-06-22 11:20:16 +02:00