Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread David Miller
From: Peter Zijlstra Date: Fri, 19 May 2017 21:31:26 +0200 > On Fri, May 19, 2017 at 03:15:53PM -0400, David Miller wrote: >> However, I don't see what any of this has to do with the feedback >> I was giving the patch author :-) > > Uhm,... I think my morning brain read

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread David Miller
From: Peter Zijlstra Date: Fri, 19 May 2017 21:31:26 +0200 > On Fri, May 19, 2017 at 03:15:53PM -0400, David Miller wrote: >> However, I don't see what any of this has to do with the feedback >> I was giving the patch author :-) > > Uhm,... I think my morning brain read things like you having

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Peter Zijlstra
On Fri, May 19, 2017 at 03:15:53PM -0400, David Miller wrote: > However, I don't see what any of this has to do with the feedback > I was giving the patch author :-) Uhm,... I think my morning brain read things like you having doubts about making it sparc64 only. But I could have easily misread

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Peter Zijlstra
On Fri, May 19, 2017 at 03:15:53PM -0400, David Miller wrote: > However, I don't see what any of this has to do with the feedback > I was giving the patch author :-) Uhm,... I think my morning brain read things like you having doubts about making it sparc64 only. But I could have easily misread

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread David Miller
From: Peter Zijlstra Date: Fri, 19 May 2017 11:03:02 +0200 > On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: >> From: Babu Moger >> Date: Thu, 18 May 2017 18:36:08 -0600 >> >> > @@ -82,6 +82,7 @@ config SPARC64 >> >select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread David Miller
From: Peter Zijlstra Date: Fri, 19 May 2017 11:03:02 +0200 > On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: >> From: Babu Moger >> Date: Thu, 18 May 2017 18:36:08 -0600 >> >> > @@ -82,6 +82,7 @@ config SPARC64 >> >select HAVE_ARCH_AUDITSYSCALL >> >select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Babu Moger
On 5/19/2017 4:03 AM, Peter Zijlstra wrote: On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 @@ -82,6 +82,7 @@ config SPARC64 select HAVE_ARCH_AUDITSYSCALL select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Babu Moger
On 5/19/2017 4:03 AM, Peter Zijlstra wrote: On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 @@ -82,6 +82,7 @@ config SPARC64 select HAVE_ARCH_AUDITSYSCALL select ARCH_SUPPORTS_ATOMIC_RMW select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Babu Moger
On 5/18/2017 9:31 PM, David Miller wrote: From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 @@ -82,6 +82,7 @@ config SPARC64 select HAVE_ARCH_AUDITSYSCALL select ARCH_SUPPORTS_ATOMIC_RMW select HAVE_NMI + select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Babu Moger
On 5/18/2017 9:31 PM, David Miller wrote: From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 @@ -82,6 +82,7 @@ config SPARC64 select HAVE_ARCH_AUDITSYSCALL select ARCH_SUPPORTS_ATOMIC_RMW select HAVE_NMI + select ARCH_USE_QUEUED_RWLOCKS If you are

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Peter Zijlstra
On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: > From: Babu Moger > Date: Thu, 18 May 2017 18:36:08 -0600 > > > @@ -82,6 +82,7 @@ config SPARC64 > > select HAVE_ARCH_AUDITSYSCALL > > select ARCH_SUPPORTS_ATOMIC_RMW > > select HAVE_NMI > > +

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Peter Zijlstra
On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: > From: Babu Moger > Date: Thu, 18 May 2017 18:36:08 -0600 > > > @@ -82,6 +82,7 @@ config SPARC64 > > select HAVE_ARCH_AUDITSYSCALL > > select ARCH_SUPPORTS_ATOMIC_RMW > > select HAVE_NMI > > + select

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 > @@ -82,6 +82,7 @@ config SPARC64 > select HAVE_ARCH_AUDITSYSCALL > select ARCH_SUPPORTS_ATOMIC_RMW > select HAVE_NMI > + select ARCH_USE_QUEUED_RWLOCKS > If you are selecting this on SPARC64

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-18 Thread David Miller
From: Babu Moger Date: Thu, 18 May 2017 18:36:08 -0600 > @@ -82,6 +82,7 @@ config SPARC64 > select HAVE_ARCH_AUDITSYSCALL > select ARCH_SUPPORTS_ATOMIC_RMW > select HAVE_NMI > + select ARCH_USE_QUEUED_RWLOCKS > If you are selecting this on SPARC64 all the time, then: >

[PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-18 Thread Babu Moger
Enable queued rwlocks for SPARC. Here are the discussions on this feature when this was introduced. https://lwn.net/Articles/572765/ https://lwn.net/Articles/582200/ Signed-off-by: Babu Moger Reviewed-by: Håkon Bugge Reviewed-by: Jane Chu

[PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-18 Thread Babu Moger
Enable queued rwlocks for SPARC. Here are the discussions on this feature when this was introduced. https://lwn.net/Articles/572765/ https://lwn.net/Articles/582200/ Signed-off-by: Babu Moger Reviewed-by: Håkon Bugge Reviewed-by: Jane Chu Reviewed-by: Shannon Nelson Reviewed-by: Vijay Kumar