public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: linux-arch@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: Lots of possible arch breakage in cpu_idle!!
Date: Sun, 29 May 2005 03:14:22 -0700	[thread overview]
Message-ID: <20050529101422.GO2057@holomorphy.com> (raw)
In-Reply-To: <429994BA.3040806@yahoo.com.au>

> William Lee Irwin III wrote:
On Sun, May 29, 2005 at 03:25:19PM +1000, Nick Piggin wrote:
>> Your cpu_idle routines need to obey the following rules:
>> The cpu_idle() routines you suggest return, which is "unexpected"
>> (AFAICT even on i386). Mind explaining how is this supposed to work?

On Sun, May 29, 2005 at 08:08:58PM +1000, Nick Piggin wrote:
> Eek! They shouldn't.
> That would be a bug... but I don't see it (in i386)
> i386's mwait_idle, default_idle, poll_idle, etc. of course will
> return (when need_resched() goes high). Then cpu_idle() will then
> call schedule()
> Or did the list of rules erroneously imply that it should return?
> Anyway, thanks for casting your eye over this, much appreciated.

I think I misread the diff, sorry.


-- wli

  reply	other threads:[~2005-05-29 10:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29  5:25 Lots of possible arch breakage in cpu_idle!! Nick Piggin
2005-05-29  5:44 ` Andrew Morton
2005-05-29  8:45 ` William Lee Irwin III
2005-05-29 10:03   ` Nick Piggin
2005-05-29 10:13     ` William Lee Irwin III
2005-05-29 11:39       ` William Lee Irwin III
2005-05-29  9:42 ` William Lee Irwin III
2005-05-29 10:08   ` Nick Piggin
2005-05-29 10:14     ` William Lee Irwin III [this message]
2005-05-29 16:55 ` Richard Henderson
2005-05-29 20:41   ` David S. Miller
2005-05-29 20:56     ` Richard Henderson
2005-05-30  0:37   ` Nick Piggin
2005-05-30 11:01 ` Martin Schwidefsky
2005-05-30 11:18   ` Nick Piggin
2005-05-30 11:34     ` Martin Schwidefsky
2005-05-30 11:49       ` Nick Piggin
2005-05-31  8:56 ` David Howells
2005-05-31  9:02   ` Nick Piggin
2005-05-31  9:05     ` David Howells

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=20050529101422.GO2057@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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