>With this patch applyed the idle task run schedule() only if need_resched
>is true. It seems that now under high IDE load my ppp link stopped to
>drop/[not send] packes as it was used to do.
Hug a little incremental fix to allow UP compile ;)
Index: linux/arch/i386/kernel/process.c
diff -u linux/arch/i386/kernel/process.c:1.1.1.1.2.17 linux/arch/i386/kernel/process.c:1.1.1.1.2.18
--- linux/arch/i386/kernel/process.c:1.1.1.1.2.17 Tue Dec 15 20:07:08 1998
+++ linux/arch/i386/kernel/process.c Tue Dec 15 21:07:49 1998
@@ -126,7 +126,9 @@
if (boot_cpu_data.hlt_works_ok && !hlt_counter && !*need_resched)
__asm__("hlt");
+#ifdef CONFIG_APM
}
+#endif
if (*need_resched)
{
schedule();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/