[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060825184717.3dbb5325.kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri, 25 Aug 2006 18:47:17 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Paul Jackson <pj@....com>
Cc: haveblue@...ibm.com, linux-kernel@...r.kernel.org, anton@...ba.org,
simon.derr@...l.net, nathanl@...tin.ibm.com, akpm@...l.org,
GOTO <y-goto@...fujitsu.com>
Subject: Re: memory hotplug - looking for good place for cpuset hook
On Fri, 25 Aug 2006 01:53:59 -0700
Paul Jackson <pj@....com> wrote:
> >From what I see so far, the right place to call my cpuset routine to
> update its copy of node_online_map would be right after the call:
>
> node_set_online(nid);
>
> in the routine mm/memory_hotplug.c:add_memory().
>
> Does that seem like a plausible sounding place to you?
>
maybe
if (new_pgdat) {
register_one_node(nid); <-- add sysfs entry of node
<here>
}
is good.
(When I implements node-hotplug invoked by cpu-hotplug, I'll care cpuset.)
-Kame
-
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