Re: [PATCH v1 09/14] futex: Add sys_futex_requeue()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Jul 21, 2023 at 1:11 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> Finish of the 'simple' futex2 syscall group by adding
> sys_futex_requeue(). Unlike sys_futex_{wait,wake}() it's 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@xxxxxxxxxxxxx>

>  arch/m68k/kernel/syscalls/syscall.tbl       |    1

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux