[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH] kernel2: Kein EOI für Syscalls
! kernel2: Für jeden Syscall an beide PICs einen EOI zu schicken,
verursacht ziemlich viel unnötige I/O-Last, was vor allem unter KVM
sehr deutlich zu spüren ist
Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
src/kernel2/src/arch/i386/interrupts/im.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/kernel2/src/arch/i386/interrupts/im.c b/src/kernel2/src/arch/i386/interrupts/im.c
index d8a7c1b..cbf6b14 100644
--- a/src/kernel2/src/arch/i386/interrupts/im.c
+++ b/src/kernel2/src/arch/i386/interrupts/im.c
@@ -719,7 +719,7 @@ void im_end_of_interrupt(uint8_t interrupt)
{
// Nur mit dem traditionellen PIC
if (use_apic == false) {
- if ((interrupt >= IM_IRQ_BASE) && (interrupt <= IM_IRQ_BASE + 16)) {
+ if ((interrupt >= IM_IRQ_BASE) && (interrupt < IM_IRQ_BASE + 16)) {
pic_eoi(interrupt - IM_IRQ_BASE);
}
} else {
--
1.6.0.2