[RFC 03/10] y2038: Convert __lll_futex* functions to use futex_time64 when available
Lukasz Majewski
lukma@denx.de
Tue Jul 14 07:23:12 GMT 2020
Hi Joseph,
> On Sun, 12 Jul 2020, Lukasz Majewski wrote:
>
> > Dear Community,
> >
> > > As the 'futex' syscall is wrapped with a C preprocessor macros,
> > > it was necessary to provide new set of those to replace call it
> > > with Y2038 safe 'futex_time64' syscall.
> > >
> > > The current code expand wrapper's arguments as __VA_ARGS__ when
> > > more than three arguments are passed. For the conversion it was
> > > necessary to also have 'timeout' explicitly passed, and hence the
> > > introduction of lll_futex_syscall_time64_4 and
> > > lll_futex_syscall_time64 functions. The former expects exactly 4
> > > arguments - timeout is the last one.
> >
> > Comments are more than welcome.
>
> There are some formatting issues in this patch series. This patch
> contains function / macro calls missing the space before '(', for
> example.
>
Thank you for your comment.
Do you have any comments regarding the proposed approach to convert
futex to futex_time64 (i.e. to provide 64 bit time support to nptl) ?
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20200714/cbc8bcb0/attachment.sig>
More information about the Libc-alpha
mailing list