Re: [PATCH v9 14/14] powerpc: rewrite local_t using soft_irq

From
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date
2017-08-04 01:41:01
Reply to
Nicholas Piggin, 2017-08-03
On Fri, 2017-08-04 at 03:50 +1000, Nicholas Piggin wrote:
Hey, so... why are any of these implemented in asm? We should
just do them all in C, right? I looked a bit harder at code gen
and a couple of them are still emitting larx/stcx.
As long as we can guarantee that the C compiler won't play games
moving stuff around. But yes, I tend to agree.

Cheers,
Ben.
Thread (20 messages) 20 messages, 4 authors, last reply 2017-08-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help