Re: Performance is weird (fwd)

From: Manfred Spraul (manfred@colorfullife.com)
Date: Thu Mar 15 2001 - 14:58:19 EST


I've attached a patch.
I tried to trigger the problem with my 10 MBit ne2k-pci connection, but
without success.

Could you try it?
I've tested it with -ac17, and it applies to 2.4.2 cleanly.

--
	Manfred

--- 2.4/arch/i386/kernel/process.c Thu Feb 22 22:28:52 2001 +++ build-2.4/arch/i386/kernel/process.c Thu Mar 15 20:35:12 2001 @@ -81,6 +81,11 @@ { if (current_cpu_data.hlt_works_ok && !hlt_counter) { __cli(); + if (softirq_active(smp_processor_id()) & softirq_mask(smp_processor_id())) { + __sti(); + do_softirq(); + return; + } if (!current->need_resched) safe_halt(); else

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:18 EST