Re: [RFC PATCH 0/2] Linux: Add futex_waitv syscall wrapper

Carlos O'Donell <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Red Hat, LLC.
Message-ID <[email protected]>
On 8/14/26 2:36 PM, André Almeida wrote:
> Hi folks,
> 
> Based on a talk on last LPC by Carlos O'Donell[1], I'm sending this patch as a
> starting point to add the futex_waitv() syscall wrapper.

Back from vacation :-)

It seems like Adhemerval is going to roll this into a bigger series.

> I tried to base myself on the work done for others wrappers, but I see that
> there are missing details in my implementation, so I'm seeking guidance on how
> to approach this.

Thank you for submitting this!

I've reviewed Adhemerval's RFC and I agree with the direction.

> Thanks!
> 	André
> 
> [1] https://lpc.events/event/19/contributions/2220/
> 
> André Almeida (2):
>    Linux: Add futex_waitv
>    misc: tst-futex: Create futex test
> 
>   include/sys/futex.h                   |  4 ++
>   sysdeps/unix/sysv/linux/Makefile      |  3 +
>   sysdeps/unix/sysv/linux/futex_waitv.c | 32 +++++++++
>   sysdeps/unix/sysv/linux/sys/futex.h   | 24 +++++++
>   sysdeps/unix/sysv/linux/tst-futex.c   | 93 +++++++++++++++++++++++++++
>   5 files changed, 156 insertions(+)
>   create mode 100644 include/sys/futex.h
>   create mode 100644 sysdeps/unix/sysv/linux/futex_waitv.c
>   create mode 100644 sysdeps/unix/sysv/linux/sys/futex.h
>   create mode 100644 sysdeps/unix/sysv/linux/tst-futex.c
> 


-- 
Cheers,
Carlos.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.