Searched hist:"1 b701179" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | exception-64s.h | 1b701179 Wed Feb 29 22:42:56 CST 2012 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc: Improve behaviour of irq tracing on 64-bit exception entry
Some exceptions would unconditionally disable interrupts on entry, which is fine, but calling lockdep every time not only adds more overhead than strictly needed, but also means we get quite a few "redudant" disable logged, which makes it hard to spot the really bad ones.
So instead, split the macro used by the exception code into a normal one and a separate one used when CONFIG_TRACE_IRQFLAGS is enabled, and make the later skip th tracing if interrupts were already disabled.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> 1b701179 Wed Feb 29 22:42:56 CST 2012 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc: Improve behaviour of irq tracing on 64-bit exception entry Some exceptions would unconditionally disable interrupts on entry, which is fine, but calling lockdep every time not only adds more overhead than strictly needed, but also means we get quite a few "redudant" disable logged, which makes it hard to spot the really bad ones. So instead, split the macro used by the exception code into a normal one and a separate one used when CONFIG_TRACE_IRQFLAGS is enabled, and make the later skip th tracing if interrupts were already disabled. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|