Re: powerpc,numa: Memory hotplug to memory-less nodes ?
From: Bharata B Rao <hidden>
Date: 2015-06-24 04:01:23
Also in:
lkml
From: Bharata B Rao <hidden>
Date: 2015-06-24 04:01:23
Also in:
lkml
So will it be correct to say that memory hotplug to memory-less node isn't supported by PowerPC kernel ? Should I enforce the same in QEMU for PowerKVM ? On Mon, Jun 22, 2015 at 10:18 AM, Bharata B Rao [off-list ref] wrote:
Hi, While developing memory hotplug support in QEMU for PoweKVM, I realized that guest kernel has specific checks to prevent hot addition of memory to a memory-less node. I am referring to arch/powerpc/mm/numa.c:hot_add_scn_to_nid() which has explicit checks to ensure that it returns a nid that has some some memory (NODE_DATA(nid)->node_spanned_pages) even when user wants to hotplug to a node that currently has zero memory. Is this limitation by design ? Regards, Bharata. -- http://raobharata.wordpress.com/
-- http://raobharata.wordpress.com/