mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Studierende der Universitaet des Saarlandes  <masp0008@stud.uni-sb.de>
To: acahalan@cs.uml.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Re: softirq buggy
Date: Mon, 09 Apr 2001 11:37:03 +0000	[thread overview]
Message-ID: <3AD19EDF.5959BF92@stud.uni-saarland.de> (raw)

> > I'd prefer to inline cpu_is_idle(), but optimizing the idle 
> >code path is probably not that important ;-) 
>
> Sure it is, in one way: how fast can you get back to work? 
> (not OK to take a millisecond getting out of the idle loop) 

2 short function calls instead of 2 "if(current->need_resched)" on the
way out.

I didn't try very hard to fix the inline dependencies, could you try to
move cpu_is_idle() from kernel/sched.c into <linux/pm.h>?

I'm sure it won't be more difficult than the last "Athlon+SMP doesn't
compile" problem ;-)

--
	Manfred

             reply	other threads:[~2001-04-09 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-09 11:37 Studierende der Universitaet des Saarlandes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-08 17:58 softirq buggy [Re: Serial port latency] kuznet
2001-04-08 21:35 ` [PATCH] Re: softirq buggy Manfred Spraul
2001-04-09  8:42   ` Albert D. Cahalan
2001-04-09 13:50   ` Andrea Arcangeli
2001-04-09 15:26     ` Manfred Spraul
2001-04-09 17:31       ` Andrea Arcangeli
2001-04-09 17:48       ` kuznet
2001-04-09 18:26         ` Andrea Arcangeli

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=3AD19EDF.5959BF92@stud.uni-saarland.de \
    --to=masp0008@stud.uni-sb.de \
    --cc=acahalan@cs.uml.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®