From: Oleg Nesterov <oleg@tv-sign.ru>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] improve SMP reschedule and idle routines
Date: Mon, 16 May 2005 17:51:23 +0400 [thread overview]
Message-ID: <4288A55B.10F7240E@tv-sign.ru> (raw)
Nick Piggin wrote:
>
> void default_idle(void)
> {
> + local_irq_enable();
> +
Stupid question. Why is this sti() needed?
Interrupts are enabled in start_secondary() before cpu_idle()
call, and they can't be disabled after return from schedule().
The same question applies to poll_idle/mwait_idle.
Oleg.
next reply other threads:[~2005-05-16 13:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-16 13:51 Oleg Nesterov [this message]
2005-05-16 22:52 ` Nick Piggin
-- strict thread matches above, loose matches on Subject: below --
2005-05-27 7:21 Nick Piggin
2005-05-27 8:57 ` Ingo Molnar
2005-05-27 9:11 ` Nick Piggin
2005-05-27 9:20 ` Ingo Molnar
2005-05-27 9:37 ` Nick Piggin
2005-05-27 10:12 ` Ingo Molnar
2005-06-01 6:15 ` Andrew Morton
2005-06-01 6:31 ` Nick Piggin
2005-05-16 4:21 Nick Piggin
[not found] ` <20050515.220455.59467677.davem@davemloft.net>
2005-05-16 5:19 ` Nick Piggin
[not found] ` <20050515.222722.63128129.davem@davemloft.net>
2005-05-16 5:34 ` Nick Piggin
2005-05-17 7:34 ` Nick Piggin
2005-05-17 7:40 ` Ingo Molnar
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=4288A55B.10F7240E@tv-sign.ru \
--to=oleg@tv-sign.ru \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®