summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/fault.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-01 05:42:56 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-09 00:55:06 +0100
commit1b70117924a4f254840ed70fbe3020d4519a1a9a (patch)
tree7656a0751d2256bf5d3f62fac2c56b0a3c6934b9 /arch/powerpc/mm/fault.c
parentpowerpc: Improve 64-bit syscall entry/exit (diff)
downloadlinux-1b70117924a4f254840ed70fbe3020d4519a1a9a.tar.xz
linux-1b70117924a4f254840ed70fbe3020d4519a1a9a.zip
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>
Diffstat (limited to 'arch/powerpc/mm/fault.c')
0 files changed, 0 insertions, 0 deletions