Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread Pranith Kumar
On Tue, Oct 21, 2014 at 11:48 AM, H. Peter Anvin wrote: > On 10/21/2014 03:14 AM, Peter Zijlstra wrote: >> On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread H. Peter Anvin
On 10/21/2014 03:14 AM, Peter Zijlstra wrote: > On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: >>> Generating a volatile pointer is really not necessary here. This is the only >>> location where a volatile pointer is being generated for use in asm. >>> >>> This commit removes the

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread Peter Zijlstra
On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: > > Generating a volatile pointer is really not necessary here. This is the only > > location where a volatile pointer is being generated for use in asm. > > > > This commit removes the unnecessary volatile pointer being created. > > >

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread Peter Zijlstra
On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary volatile pointer being created.

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread H. Peter Anvin
On 10/21/2014 03:14 AM, Peter Zijlstra wrote: On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread Pranith Kumar
On Tue, Oct 21, 2014 at 11:48 AM, H. Peter Anvin h...@zytor.com wrote: On 10/21/2014 03:14 AM, Peter Zijlstra wrote: On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-20 Thread Pranith Kumar
ping. On Wed, Oct 1, 2014 at 1:57 PM, Pranith Kumar wrote: > Generating a volatile pointer is really not necessary here. This is the only > location where a volatile pointer is being generated for use in asm. > > This commit removes the unnecessary volatile pointer being created. > >

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-20 Thread Pranith Kumar
ping. On Wed, Oct 1, 2014 at 1:57 PM, Pranith Kumar bobby.pr...@gmail.com wrote: Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary volatile pointer being

[PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-01 Thread Pranith Kumar
Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary volatile pointer being created. Signed-off-by: Pranith Kumar --- arch/x86/include/asm/cmpxchg.h | 12

[PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-01 Thread Pranith Kumar
Generating a volatile pointer is really not necessary here. This is the only location where a volatile pointer is being generated for use in asm. This commit removes the unnecessary volatile pointer being created. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com ---