mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* memory hotplug - looking for good place for cpuset hook
@ 2006-08-25  8:53 Paul Jackson
  2006-08-25  9:47 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Jackson @ 2006-08-25  8:53 UTC (permalink / raw)
  To: Dave Hansen; +Cc: linux-kernel, anton, simon.derr, nathanl, akpm

Dave,

I'm looking for a good place to add yet another cpuset hook, this
one to keep a nodemask in my top (root) cpuset always equal to the
current value of node_online_map.

The motivation for this, if you're interested, comes from the
following threads, which added similar cpuset tracking of the
cpu_online_map:

  cpusets not cpu hotplug aware
  http://lkml.org/lkml/2006/8/21/128

  [PATCH] cpuset: top_cpuset tracks hotplug changes to cpu_online_map
  http://lkml.org/lkml/2006/8/24/107

(I cc'd the victims of these threads here, in case they're interested.)

>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?

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-25 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-25  8:53 memory hotplug - looking for good place for cpuset hook Paul Jackson
2006-08-25  9:47 ` KAMEZAWA Hiroyuki
2006-08-25 14:58   ` Dave Hansen
2006-08-25 17:23     ` Paul Jackson
2006-08-25 16:57   ` Paul Jackson
2006-08-25 17:57     ` KAMEZAWA Hiroyuki
2006-08-25 19:01       ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®