[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1348571242.3881.11.camel@twins>
Date: Tue, 25 Sep 2012 13:07:22 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Tang Chen <tangchen@...fujitsu.com>
Cc: "Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, x86@...nel.org,
linux-numa@...r.kernel.org, wency@...fujitsu.com, mingo@...nel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] Update sched_domains_numa_masks when new cpus are
onlined.
On Tue, 2012-09-25 at 10:39 +0800, Tang Chen wrote:
> > We do this because nr_node_ids changed, right? This means the entire
> > distance table grew/shrunk, which means we should do the level scan
> > again.
>
> It seems that nr_node_ids will not change once the system is up.
> I'm not quite sure. If I am wrong, please tell me. :)
Ah, right you are..
So the problem is that cpumask_of_node() doesn't contain offline cpus,
and we might not boot the machine with all cpus present.
In that case I guess the suggested hotplug hooks are fine. Its just that
your changelog was confusing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists