Re: [PATCH RFC 1/2] futex: Split key setup from key queue locking and read

2019-07-31 Thread Thomas Gleixner
On Wed, 31 Jul 2019, Gabriel Krisman Bertazi wrote: > Thomas Gleixner writes: > > > On Tue, 30 Jul 2019, Gabriel Krisman Bertazi wrote: > > > >> split the futex key setup from the queue locking and key reading. This > >> is useful to support the setup of multiple keys at the same time, like > >>

Re: [PATCH RFC 1/2] futex: Split key setup from key queue locking and read

2019-07-31 Thread Gabriel Krisman Bertazi
Gabriel Krisman Bertazi writes: > Thomas Gleixner writes: >> What has this to do with futex_requeue()? Absolutely nothing unleass you >> can reused that code there, which I doubt. > >I think it could be reused there Though I admit to not having tried it out. I suppose I can just drop the refer

Re: [PATCH RFC 1/2] futex: Split key setup from key queue locking and read

2019-07-31 Thread Gabriel Krisman Bertazi
Thomas Gleixner writes: > On Tue, 30 Jul 2019, Gabriel Krisman Bertazi wrote: > >> split the futex key setup from the queue locking and key reading. This >> is useful to support the setup of multiple keys at the same time, like >> what is done in futex_requeue() and what will be done for the > >

Re: [PATCH RFC 1/2] futex: Split key setup from key queue locking and read

2019-07-31 Thread Thomas Gleixner
On Tue, 30 Jul 2019, Gabriel Krisman Bertazi wrote: > split the futex key setup from the queue locking and key reading. This > is useful to support the setup of multiple keys at the same time, like > what is done in futex_requeue() and what will be done for the What has this to do with futex_req

[PATCH RFC 1/2] futex: Split key setup from key queue locking and read

2019-07-30 Thread Gabriel Krisman Bertazi
split the futex key setup from the queue locking and key reading. This is useful to support the setup of multiple keys at the same time, like what is done in futex_requeue() and what will be done for the FUTEX_WAIT_MULTIPLE command. Signed-off-by: Gabriel Krisman Bertazi --- kernel/futex.c | 71