[1/4] powerpc/64s: context switch leave interrupts hard enabled for radix
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jun 19 22:25:37 AEST 2017
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 at gmail.com>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e4c0fc5f72bca11432297168338aef
cheers
More information about the Linuxppc-dev
mailing list