public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Jonas Aaberg <jonas.aberg@stericsson.com>
Cc: linux-kernel@vger.kernel.org,
	Russell King <linux@arm.linux.org.uk>,
	Linus Walleij <linus.walleij@stericsson.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: RFC [PATCH] SMP: Don't schedule tasks on inactive cpu(s)
Date: Wed, 29 Feb 2012 12:03:04 +0100	[thread overview]
Message-ID: <1330513384.11248.129.camel@twins> (raw)
In-Reply-To: <1330512150-20727-1-git-send-email-jonas.aberg@stericsson.com>

On Wed, 2012-02-29 at 11:42 +0100, Jonas Aaberg wrote:
> This patch removes the ability to schedule tasks on cpus that are online,
> but not active.  The reason for this patch is that during cpu hotplug
> on ARM (atleast) there is a short window where cpuX (X > 0) is online, but
> busy-waiting on cpu0 to put it active, meanwhile cpu0 can be interrupted
> and try to schedule something on the cpu that is busy checking its active bit.

https://lkml.org/lkml/2011/12/15/255

that one?

I _think_ its correct, but it would be so good if someone else could
verify.

  reply	other threads:[~2012-02-29 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 10:42 RFC [PATCH] SMP: Don't schedule tasks on inactive cpu(s) Jonas Aaberg
2012-02-29 11:03 ` Peter Zijlstra [this message]
2012-02-29 11:48   ` Peter Zijlstra
2012-03-02 10:51     ` Jonas Aaberg

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=1330513384.11248.129.camel@twins \
    --to=peterz@infradead.org \
    --cc=jonas.aberg@stericsson.com \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=tglx@linutronix.de \
    /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