Centos-kernel-stream-9/arch/sh/kernel/syscalls
Waiman Long 99861cf1f6 futex: Add sys_futex_requeue()
JIRA: https://issues.redhat.com/browse/RHEL-28616

commit 0f4b5f972216782a4acb1ae00dcb55173847c2ff
Author: peterz@infradead.org <peterz@infradead.org>
Date:   Thu, 21 Sep 2023 12:45:15 +0200

    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

Signed-off-by: Waiman Long <longman@redhat.com>
2024-03-27 10:06:08 -04:00
..
Makefile arch: syscalls: simplify uapi/kapi directory creation 2024-03-20 09:42:30 -04:00
syscall.tbl futex: Add sys_futex_requeue() 2024-03-27 10:06:08 -04:00