summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2021-05-31 19:50:36 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-06-22 12:20:16 +0300
commit7cb5dd8e2c8ce2b8f778f37cfd8bb955d663d16d (patch)
treee42d7371ee9a50d5f514134df2806626c3e26d99 /kernel
parentc3d128581f64a9b3729e697a63760ff0a2c4a8fe (diff)
downloadlinux-7cb5dd8e2c8ce2b8f778f37cfd8bb955d663d16d.tar.xz
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
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions