[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c995708f-95e1-119b-c3ce-5fda27f24a4d@collabora.com>
Date: Sat, 13 Jun 2020 16:25:46 -0300
From: André Almeida <andrealmeid@...labora.com>
To: "H.J. Lu" <hjl.tools@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Florian Weimer <fweimer@...hat.com>, malteskarupke@....de,
GNU C Library <libc-alpha@...rceware.org>,
Linux API <linux-api@...r.kernel.org>,
Ingo Molnar <mingo@...hat.com>, dvhart@...radead.org,
kernel@...labora.com, krisman@...labora.com,
pgriffais@...vesoftware.com
Subject: Re: [RFC 0/4] futex2: Add new futex interface
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
> <libc-alpha@...rceware.org> 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 multiple futexes) we would need a proper x32 entry
>> since we are dealing with 32bit pointers.
>
> x32 should be able to use the same i386 compat systcall entry. Will it be
> problem?
>
Indeed, you are right. In the last iteration of this work, I had some
problems dealing with x32 ABI, but this new interface doesn't have the
same problem anymore. We can use the same sys_waitv_time64 interface for
both i368 and x32.
>>
>
> H.J.
>
Thanks,
André
Powered by blists - more mailing lists