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

2014-12-18 Thread Rusty Russell
David Laight writes: > From: Rusty Russell >> David Laight 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 a

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

2014-12-18 Thread David Laight
From: Rusty Russell > David Laight 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-17 Thread Rusty Russell
David Laight 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 the

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.) > >

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 operation

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

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. Loc

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 atomi