public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] node hotplug : register_cpu() changes [0/3]
@ 2006-05-23 10:56 KAMEZAWA Hiroyuki
  2006-05-23 11:00 ` [RFC][PATCH] node hotplug [1/3] register-cpu-remove-node-struct KAMEZAWA Hiroyuki
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: KAMEZAWA Hiroyuki @ 2006-05-23 10:56 UTC (permalink / raw)
  To: LKML; +Cc: y-goto, ktokunag, ashok.raj, Andrew Morton

With Goto-san's patch, we can add new pgdat/node in runtime.
I'm now considering node-hot-add with cpu + memory on ACPI.

I found acpi container, which describes node, could evaluate cpu before
memory. This means cpu-hot-add occurs before memory hot add.

In most part, cpu-hot-add doesn't depend on node hot add.
But register_cpu, which creates symbolic link from node to cpu, requires
that node should be onlined before register_cpu().
When a node is onlined, its pgdat should be there.

This patch-set holds off creating symbolic link from node to cpu
until node is onlined. 

[1/3] modifies register_cpu
[2/3] changes caller of register cpu
[3/3] changes register_node. create symbolic link fron node to cpu.

By these patch, (cpu + memory) node hot add will succeed.
(cpu-only)/(IO-only) node hot add will need more fixes. (But we need this ?)

And ia64 needs more fixes. I'll post later.

-Kame


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

end of thread, other threads:[~2006-05-25  0:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 10:56 [RFC][PATCH] node hotplug : register_cpu() changes [0/3] KAMEZAWA Hiroyuki
2006-05-23 11:00 ` [RFC][PATCH] node hotplug [1/3] register-cpu-remove-node-struct KAMEZAWA Hiroyuki
2006-05-23 11:02 ` [RFC][PATCH] node hotplug [2/3] fixes callres of register_cpu KAMEZAWA Hiroyuki
2006-05-23 11:03 ` [RFC][PATCH] node hotplug [3/3] register_node fix KAMEZAWA Hiroyuki
2006-05-23 14:52 ` [RFC][PATCH] node hotplug : register_cpu() changes [0/3] Ashok Raj
2006-05-24  0:18   ` KAMEZAWA Hiroyuki
2006-05-24  7:05     ` KAMEZAWA Hiroyuki
2006-05-24 14:51     ` Ashok Raj
2006-05-25  0:34       ` KAMEZAWA Hiroyuki
2006-05-25  0:36         ` Ashok Raj

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