]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] SMTC: Instant IPI replay.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 20 Jan 2007 00:18:01 +0000 (00:18 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 23 Jan 2007 18:26:47 +0000 (18:26 +0000)
commit5c0a5d8cee2e03e264549d89c9d32d70da30bfc4
treec9992cccbc6bcb2f099395ef614ebc96b91a2598
parent47b04ea92f0caac8c7051553bbccbc881aa20aca
[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