linux/arch/xtensa
peterz@infradead.org 0f4b5f9722 futex: Add sys_futex_requeue()
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
2023-09-21 19:22:10 +02:00
..
boot xtensa: boot-redboot: clean up Makefile 2023-06-12 19:48:56 -07:00
configs treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
include Xtensa updates for v6.6 2023-09-07 10:30:17 -07:00
kernel futex: Add sys_futex_requeue() 2023-09-21 19:22:10 +02:00
lib powerpc updates for 6.5 2023-06-30 09:20:08 -07:00
mm xtensa: implement the new page table range API 2023-08-24 16:20:24 -07:00
platforms tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
variants
Kbuild xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00
Kconfig Xtensa updates for v6.6 2023-09-07 10:30:17 -07:00
Kconfig.debug xtensa: dump userspace code around the exception PC 2023-06-24 06:34:27 -07:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00