Thread (19 messages) 19 messages, 2 authors, 2016-08-26

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

flat view

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2016-08-25 07:15:55

On Thu, 25 Aug 2016 11:59:51 +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.
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.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help