mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
Finish off the 'simple' futex2 syscall group by adding
sys_futex_requeue(). Unlike sys_futex_{wait,wake}() its arguments are
too numerous to fit into a regular syscall. As such, use struct
futex_waitv to pass the 'source' and 'destination' futexes to the
syscall.
This syscall implements what was previously known as FUTEX_CMP_REQUEUE
and uses {val, uaddr, flags} for source and {uaddr, flags} for
destination.
This design explicitly allows requeueing between different types of
futex by having a different flags word per uaddr.
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.511860556@noisy.programming.kicks-ass.net
|
||
|---|---|---|
| .. | ||
| syscalls | ||
| .gitignore | ||
| asm-offsets.c | ||
| bootinfo_proc.c | ||
| dma.c | ||
| early_printk.c | ||
| entry.S | ||
| head.S | ||
| ints.c | ||
| irq.c | ||
| machine_kexec.c | ||
| Makefile | ||
| module.c | ||
| pcibios.c | ||
| process.c | ||
| ptrace.c | ||
| relocate_kernel.S | ||
| setup_mm.c | ||
| setup_no.c | ||
| setup.c | ||
| signal.c | ||
| sun3-head.S | ||
| sys_m68k.c | ||
| syscalltable.S | ||
| time.c | ||
| traps.c | ||
| uboot.c | ||
| vectors.c | ||
| vmlinux-nommu.lds | ||
| vmlinux-std.lds | ||
| vmlinux-sun3.lds | ||
| vmlinux.lds.S | ||