linux/kernel/futex
peterz@infradead.org cb8c4312af futex: Add sys_futex_wait()
To complement sys_futex_waitv()/wake(), add sys_futex_wait(). This
syscall implements what was previously known as FUTEX_WAIT_BITSET
except it uses 'unsigned long' for the value and bitmask arguments,
takes timespec and clockid_t arguments for the absolute timeout and
uses FUTEX2 flags.

The 'unsigned long' allows FUTEX2_SIZE_U64 on 64bit platforms.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230921105248.164324363@noisy.programming.kicks-ass.net
2023-09-21 19:22:08 +02:00
..
core.c Linux 6.6-rc2 2023-09-18 22:17:15 +02:00
futex.h futex: Add sys_futex_wait() 2023-09-21 19:22:08 +02:00
Makefile futex: Split out wait/wake 2021-10-07 13:51:11 +02:00
pi.c futex/pi: Fix recursive rt_mutex waiter state 2023-09-20 09:31:14 +02:00
requeue.c futex/pi: Fix recursive rt_mutex waiter state 2023-09-20 09:31:14 +02:00
syscalls.c futex: Add sys_futex_wait() 2023-09-21 19:22:08 +02:00
waitwake.c futex: Add sys_futex_wait() 2023-09-21 19:22:08 +02:00