public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Performance is weird (fwd)
@ 2001-03-15 19:58 Manfred Spraul
  2001-03-16  2:41 ` Performance is weird (fwd) -> results Sampsa Ranta
  0 siblings, 1 reply; 4+ messages in thread
From: Manfred Spraul @ 2001-03-15 19:58 UTC (permalink / raw)
  To: sampsa, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

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

[-- Attachment #2: patch-proc --]
[-- Type: text/plain, Size: 399 bytes --]

--- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-17 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 19:58 Performance is weird (fwd) Manfred Spraul
2001-03-16  2:41 ` Performance is weird (fwd) -> results Sampsa Ranta
2001-03-16 15:23   ` Manfred Spraul
2001-03-17 13:55     ` Sampsa Ranta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox