Re: [RFC 0/4] futex2: Add new futex interface

2020-06-25 Thread André Almeida
Hello Arnd, On 6/25/20 3:48 AM, Arnd Bergmann wrote: > On Fri, Jun 12, 2020 at 8:51 PM André Almeida > wrote: > >> - The proposed interface uses ktime_t type for absolute timeout, and I >> assumed that it should use values in a nsec resolution. If this is true, >> we have some problems with

Re: [RFC 0/4] futex2: Add new futex interface

2020-06-24 Thread Arnd Bergmann
On Fri, Jun 12, 2020 at 8:51 PM André Almeida wrote: > - The proposed interface uses ktime_t type for absolute timeout, and I > assumed that it should use values in a nsec resolution. If this is true, > we have some problems with i386 ABI, please check out the > COMPAT_32BIT_TIME implementa

Re: [RFC 0/4] futex2: Add new futex interface

2020-06-13 Thread André Almeida
Hello H.J., On 6/12/20 4:35 PM, H.J. Lu wrote: > On Fri, Jun 12, 2020 at 11:53 AM André Almeida via Libc-alpha > wrote: >> - Is expected to have a x32 ABI implementation as well? In the case of >> wait and wake, we could use the same as x86_64 ABI. However, for the >> waitv (aka wait on multi

Re: [RFC 0/4] futex2: Add new futex interface

2020-06-12 Thread H.J. Lu
On Fri, Jun 12, 2020 at 11:53 AM André Almeida via Libc-alpha wrote: > > Hello, > > This RFC is a followup to the previous discussion initiated from my last > patch "futex: Implement mechanism to wait on any of several futexes"[1]. > As stated in the thread, the correct approach to move forward wi