[RFC PATCH v3 00/12] powerpc: "paca->soft_enabled" based local atomic operation implementation

Nicholas Piggin npiggin at gmail.com
Thu Aug 25 17:15:43 AEST 2016

On Thu, 25 Aug 2016 11:59:51 +0530
Madhavan Srinivasan <maddy at linux.vnet.ibm.com> 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.

This is looking really nice. I like how you're able to specify
the mask nicely in the handler, and test the mask without adding
any instructions to fastpaths.

So far, I only have a few trivial nitpicks as you can see. I'll
apply the series and give it a more careful look tomorrow.


More information about the Linuxppc-dev mailing list