Re: [PATCH v10 00/17] powerpc: "paca->soft_enabled" based local atomic operation implementation
From: Nicholas Piggin <npiggin@gmail.com>
Date: 2017-12-20 05:02:37
From: Nicholas Piggin <npiggin@gmail.com>
Date: 2017-12-20 05:02:37
On Wed, 20 Dec 2017 09:25:40 +0530 Madhavan Srinivasan [off-list ref] wrote:
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 data and these needs to be executed in a preemption safe way.
As we've been discussing offline, these are all Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Thanks, Nick