All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: sampsa@netsonic.fi, linux-kernel@vger.kernel.org
Subject: Re: Performance is weird (fwd)
Date: Thu, 15 Mar 2001 20:58:19 +0100	[thread overview]
Message-ID: <3AB11EDB.CCA47F45@colorfullife.com> (raw)

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

             reply	other threads:[~2001-03-15 19:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-15 19:58 Manfred Spraul [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2001-03-15 18:08 Performance is weird (fwd) Manfred Spraul
2001-03-15 15:25 Sampsa Ranta
2001-03-24 12:42 ` Sampsa Ranta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AB11EDB.CCA47F45@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sampsa@netsonic.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.