All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Nathan Lynch <ntl@pobox.com>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Nick Piggin <npiggin@suse.de>,
	Giuliano Pochini <pochini@shiny.it>
Subject: Re: [PATCH 2.6.20] tasks cannot run on cpus onlined after boot
Date: Sun, 7 Jan 2007 16:48:04 +0100	[thread overview]
Message-ID: <20070107154804.GB3865@elte.hu> (raw)
In-Reply-To: <20070107084955.GD7654@localdomain>


* Nathan Lynch <ntl@pobox.com> wrote:

> Commit 5c1e176781f43bc902a51e5832f789756bff911b ("sched: force
> /sbin/init off isolated cpus") sets init's cpus_allowed to a subset of
> cpu_online_map at boot time, which means that tasks won't be scheduled
> on cpus that are added to the system later.
> 
> Make init's cpus_allowed a subset of cpu_possible_map instead.  This 
> should still preserve the behavior that Nick's change intended.
> 
> Thanks to Giuliano Pochini for reporting this and testing the fix:
> 
> http://ozlabs.org/pipermail/linuxppc-dev/2006-December/029397.html
> 
> Signed-off-by: Nathan Lynch <ntl@pobox.com>

nicely spotted!

> -	cpus_andnot(non_isolated_cpus, cpu_online_map, cpu_isolated_map);
> +	cpus_andnot(non_isolated_cpus, cpu_possible_map, cpu_isolated_map);

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

      reply	other threads:[~2007-01-07 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-07  8:49 [PATCH 2.6.20] tasks cannot run on cpus onlined after boot Nathan Lynch
2007-01-07 15:48 ` Ingo Molnar [this message]

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=20070107154804.GB3865@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npiggin@suse.de \
    --cc=ntl@pobox.com \
    --cc=pochini@shiny.it \
    /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.