Re: [PATCH 2/3] x86: add numa_move_cpus_to_node

From: Yinghai Lu
Date: Mon May 11 2009 - 17:55:41 EST


Christoph Lameter wrote:
> On Fri, 8 May 2009, Yinghai Lu wrote:
>
>> when node only have hot add range and don't have other static range.
>> that node will not be onlined, and cpus on that will be linked to nearby
>> node with memory.
>> then when that host add range is added later, we need to linked those cpus
>> back.
>
> This going to be fun for the allocators that have put their queues on the
> respective nodes. How are the various OS structures that were allocated on
> the node that is downed / upped relocated?

NODE_DATA is new allocated on that node is backed on line for the first time.

per_cpu will still stay with old near node. because per_cpu is somehow preallocated for all possible cpu.

YH
--
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/