Re: memory hotplug - looking for good place for cpuset hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Aug 2006 01:53:59 -0700
Paul Jackson <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux