RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-23 Thread Reshetova, Elena
> On Fri, 20 Oct 2017, Reshetova, Elena wrote: > > > Since I am not really sure what to do with this futex patch, I will drop it > > from the new series that I am about to send now. > > > > Please let me know what exactly should I do with this patch, as I wrote > > previously I really don't

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-23 Thread Reshetova, Elena
> On Fri, 20 Oct 2017, Reshetova, Elena wrote: > > > Since I am not really sure what to do with this futex patch, I will drop it > > from the new series that I am about to send now. > > > > Please let me know what exactly should I do with this patch, as I wrote > > previously I really don't

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-20 Thread Thomas Gleixner
On Fri, 20 Oct 2017, Reshetova, Elena wrote: > Since I am not really sure what to do with this futex patch, I will drop it > from the new series that I am about to send now. > > Please let me know what exactly should I do with this patch, as I wrote > previously I really don't understand. As

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-20 Thread Thomas Gleixner
On Fri, 20 Oct 2017, Reshetova, Elena wrote: > Since I am not really sure what to do with this futex patch, I will drop it > from the new series that I am about to send now. > > Please let me know what exactly should I do with this patch, as I wrote > previously I really don't understand. As

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-20 Thread Reshetova, Elena
Since I am not really sure what to do with this futex patch, I will drop it from the new series that I am about to send now. Please let me know what exactly should I do with this patch, as I wrote previously I really don't understand. Best Regards, Elena. > Sorry for delayed reply. > > > On

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-10-20 Thread Reshetova, Elena
Since I am not really sure what to do with this futex patch, I will drop it from the new series that I am about to send now. Please let me know what exactly should I do with this patch, as I wrote previously I really don't understand. Best Regards, Elena. > Sorry for delayed reply. > > > On

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-14 Thread Reshetova, Elena
Sorry for delayed reply. > On Mon, Sep 04, 2017 at 10:31:54AM +, Reshetova, Elena wrote: > > > > But can they make "fast" implementation on ARM that would give stronger > > > > memory guarantees? > > > > > > Whatever for? > > > > Well, maybe just by default when arch.-specific implementation

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-14 Thread Reshetova, Elena
Sorry for delayed reply. > On Mon, Sep 04, 2017 at 10:31:54AM +, Reshetova, Elena wrote: > > > > But can they make "fast" implementation on ARM that would give stronger > > > > memory guarantees? > > > > > > Whatever for? > > > > Well, maybe just by default when arch.-specific implementation

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-04 Thread Peter Zijlstra
On Mon, Sep 04, 2017 at 10:31:54AM +, Reshetova, Elena wrote: > > > But can they make "fast" implementation on ARM that would give stronger > > > memory guarantees? > > > > Whatever for? > > Well, maybe just by default when arch.-specific implementation is > done. But I was just trying to

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-04 Thread Peter Zijlstra
On Mon, Sep 04, 2017 at 10:31:54AM +, Reshetova, Elena wrote: > > > But can they make "fast" implementation on ARM that would give stronger > > > memory guarantees? > > > > Whatever for? > > Well, maybe just by default when arch.-specific implementation is > done. But I was just trying to

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-04 Thread Reshetova, Elena
eesc...@chromium.org; dvh...@infradead.org; ebied...@xmission.com > Subject: Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to > refcount_t > > On Fri, Sep 01, 2017 at 05:03:55PM +, Reshetova, Elena wrote: > > > On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetov

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-04 Thread Reshetova, Elena
n.com > Subject: Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to > refcount_t > > On Fri, Sep 01, 2017 at 05:03:55PM +, Reshetova, Elena wrote: > > > On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > > > > &

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 05:03:55PM +, Reshetova, Elena wrote: > > On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > > > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > > > Actually on the second thought: does the above memory ordering > > > >

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 05:03:55PM +, Reshetova, Elena wrote: > > On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > > > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > > > Actually on the second thought: does the above memory ordering > > > >

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > > Actually on the second thought: does the above memory ordering > > > > differences > > > > really apply when we have ARCH_HAS_REFCOUNT? To me it

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > > Actually on the second thought: does the above memory ordering > > > > differences > > > > really apply when we have ARCH_HAS_REFCOUNT? To me it

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > Actually on the second thought: does the above memory ordering differences > > > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 01:24:16PM +, Reshetova, Elena wrote: > > > On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > > Actually on the second thought: does the above memory ordering differences > > > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > Actually on the second thought: does the above memory ordering differences > > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the way > > how it is currently implemented for x86 is the same way as it is for

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > > Actually on the second thought: does the above memory ordering differences > > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the way > > how it is currently implemented for x86 is the same way as it is for

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > Actually on the second thought: does the above memory ordering differences > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the way > how it is currently implemented for x86 is the same way as it is for atomic

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 11:05:33AM +, Reshetova, Elena wrote: > Actually on the second thought: does the above memory ordering differences > really apply when we have ARCH_HAS_REFCOUNT? To me it looks like the way > how it is currently implemented for x86 is the same way as it is for atomic

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, 1 Sep 2017, Peter Zijlstra wrote: > > > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > > > atomic_t variables are currently used to implement reference > > > > > counters with the following properties: > > > > >

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, 1 Sep 2017, Peter Zijlstra wrote: > > > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > > > atomic_t variables are currently used to implement reference > > > > > counters with the following properties: > > > > >

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, 1 Sep 2017, Peter Zijlstra wrote: > > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > > atomic_t variables are currently used to implement reference > > > > counters with the following properties: > > > > - counter

RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Reshetova, Elena
> On Fri, 1 Sep 2017, Peter Zijlstra wrote: > > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > > atomic_t variables are currently used to implement reference > > > > counters with the following properties: > > > > - counter

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Thomas Gleixner
On Fri, 1 Sep 2017, Peter Zijlstra wrote: > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > atomic_t variables are currently used to implement reference > > > counters with the following properties: > > > - counter is

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Thomas Gleixner
On Fri, 1 Sep 2017, Peter Zijlstra wrote: > On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > > atomic_t variables are currently used to implement reference > > > counters with the following properties: > > > - counter is

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > atomic_t variables are currently used to implement reference > > counters with the following properties: > > - counter is initialized to 1 using atomic_set() > > - a resource is

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Peter Zijlstra
On Fri, Sep 01, 2017 at 09:39:50AM +0200, Thomas Gleixner wrote: > On Wed, 30 Aug 2017, Elena Reshetova wrote: > > atomic_t variables are currently used to implement reference > > counters with the following properties: > > - counter is initialized to 1 using atomic_set() > > - a resource is

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Thomas Gleixner
On Wed, 30 Aug 2017, Elena Reshetova wrote: > atomic_t variables are currently used to implement reference > counters with the following properties: > - counter is initialized to 1 using atomic_set() > - a resource is freed upon counter reaching zero > - once counter reaches zero, its further >

Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-09-01 Thread Thomas Gleixner
On Wed, 30 Aug 2017, Elena Reshetova wrote: > atomic_t variables are currently used to implement reference > counters with the following properties: > - counter is initialized to 1 using atomic_set() > - a resource is freed upon counter reaching zero > - once counter reaches zero, its further >