Thread (7 messages) flat view 7 messages, 4 authors, 2017-06-19

Re: [1/4] powerpc/64s: context switch leave interrupts hard enabled for radix

From: Michael Ellerman <hidden>
Date: 2017-06-19 12:25:38

On Thu, 2017-06-08 at 15:36:06 UTC, Nicholas Piggin wrote:
Commit 4387e9ff25 ("[POWERPC] Fix PMU + soft interrupt disable bug")
hard disabled interrupts over the low level context switch, because
the SLB management can't cope with a PMU interrupt accesing the stack
in that window.

Radix based kernel mapping does not use the SLB so it does not require
interrupts hard disabled here.

This is worth 1-2% in context switch performance on POWER9.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e4c0fc5f72bca11432297168338aef

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