[MIPS] SMTC: Instant IPI replay.
commit77274fa2370e11dafa0ba6a1ef3eb5b2ed0a6665
authorRalf Baechle <ralf@linux-mips.org>
Sat, 20 Jan 2007 00:18:01 +0000 (20 00:18 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 20 Jan 2007 00:18:01 +0000 (20 00:18 +0000)
tree0a4426202d105e58c52e0f641bb899c2cdd6b45b
parentb6984668897f741d807c968713dd4839e83d01a0
[MIPS] SMTC: Instant IPI replay.

SMTC pseudo-interrupts between TCs are deferred and queued if the target
TC is interrupt-inhibited (IXMT). In the first SMTC prototypes, these
queued IPIs were serviced on return to user mode, or on entry into the
kernel idle loop. The INSTANT_REPLAY option dispatches them as part of
local_irq_restore() processing, which adds runtime overhead (hence the
option to turn it off), but ensures that IPIs are handled promptly even
under heavy I/O interrupt load.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/smtc.c
include/asm-mips/irqflags.h