[PATCH] Fix PMU + soft interrupt disable bug

Olof Johansson olof at lixom.net
Tue Mar 18 11:36:19 EST 2008


On Sun, Mar 16, 2008 at 11:27:09PM -0500, Anton Blanchard wrote:
> 
> Since the PMU is an NMI now, it can come at any time we are only soft
> disabled. We must hard disable around the two places we allow the kernel
> stack SLB and r1 to go out of sync. Otherwise the PMU exception can
> force a kernel stack SLB into another slot.
> 
> Signed-off-by: Anton Blanchard <anton at samba.org>

Acked-by: Olof Johansson <olof at lixom.net>

This fixes some problems we've seen with multi-slb hits when running
oprofile.




More information about the Linuxppc-dev mailing list