Re: [RFC][PATCH] node hotplug : register_cpu() changes [0/3]
From: Ashok Raj
Date: Tue May 23 2006 - 10:53:20 EST
On Tue, May 23, 2006 at 07:56:36PM +0900, KAMEZAWA Hiroyuki wrote:
> I found acpi container, which describes node, could evaluate cpu before
> memory. This means cpu-hot-add occurs before memory hot add.
Is it possible to process memory before cpu in container hot-add code?
> 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
Dont you need all per-cpu allocated on that node? Or is it from node0 or
something for all hotpluggable cpus?
If node is online first, then all allocations come from that node, thought you
*want* to ensure node/mem is online before cpu is up to get that benefit.
> that node should be onlined before register_cpu().
> When a node is onlined, its pgdat should be there.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/