Re: [RFC PATCH 03/13] futex2: Implement vectorized wait

From: Gabriel Krisman Bertazi
Date: Mon Feb 15 2021 - 15:09:16 EST


André Almeida <andrealmeid@xxxxxxxxxxxxx> writes:

> Add support to wait on multiple futexes. This is the interface
> implemented by this syscall:
>
> futex_waitv(struct futex_waitv *waiters, unsigned int nr_futexes,
> unsigned int flags, struct timespec *timo)

Sorry for the second email in a row. But, if futex_wake is just a
futex_wakev with nr_futexes == 1, why do we need two syscalls for that?
Why not only have futex_waitv?


--
Gabriel Krisman Bertazi