RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-12-18 Thread David Laight
From: Rusty Russell David Laight david.lai...@aculab.com writes: From: Madhavan Srinivasan [mailto:ma...@linux.vnet.ibm.com] ... I also wonder if it is possible to inspect the interrupted code to determine the start/end of the RAS block. (Easiest if you assume that there is a single

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-12-18 Thread Rusty Russell
David Laight david.lai...@aculab.com writes: From: Rusty Russell David Laight david.lai...@aculab.com writes: From: Madhavan Srinivasan [mailto:ma...@linux.vnet.ibm.com] ... I also wonder if it is possible to inspect the interrupted code to determine the start/end of the RAS block.

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-12-17 Thread Rusty Russell
David Laight david.lai...@aculab.com writes: From: Madhavan Srinivasan [mailto:ma...@linux.vnet.ibm.com] ... I also wonder if it is possible to inspect the interrupted code to determine the start/end of the RAS block. (Easiest if you assume that there is a single 'write' instruction as

Re: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-12-01 Thread Madhavan Srinivasan
On Friday 28 November 2014 03:39 PM, David Laight wrote: From: Madhavan Srinivasan On Thursday 27 November 2014 07:35 PM, David Laight wrote: From: Madhavan Srinivasan This patchset create the infrastructure to handle the CR based local_* atomic operations. Local atomic operations are fast

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-12-01 Thread David Laight
From: Madhavan Srinivasan [mailto:ma...@linux.vnet.ibm.com] ... I also wonder if it is possible to inspect the interrupted code to determine the start/end of the RAS block. (Easiest if you assume that there is a single 'write' instruction as the last entry in the block.) So each

Re: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-28 Thread Madhavan Srinivasan
On Thursday 27 November 2014 07:35 PM, David Laight wrote: From: Madhavan Srinivasan This patchset create the infrastructure to handle the CR based local_* atomic operations. Local atomic operations are fast and highly reentrant per CPU counters. Used for percpu variable updates. Local

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-28 Thread David Laight
From: Madhavan Srinivasan On Thursday 27 November 2014 07:35 PM, David Laight wrote: From: Madhavan Srinivasan This patchset create the infrastructure to handle the CR based local_* atomic operations. Local atomic operations are fast and highly reentrant per CPU counters. Used for percpu

[RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-27 Thread Madhavan Srinivasan
This patchset create the infrastructure to handle the CR based local_* atomic operations. Local atomic operations are fast and highly reentrant per CPU counters. Used for percpu variable updates. Local atomic operations only guarantee variable modification atomicity wrt the CPU which owns the

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-27 Thread David Laight
From: Madhavan Srinivasan This patchset create the infrastructure to handle the CR based local_* atomic operations. Local atomic operations are fast and highly reentrant per CPU counters. Used for percpu variable updates. Local atomic operations only guarantee variable modification atomicity