linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc,numa: Memory hotplug to memory-less nodes ?
@ 2015-06-22  4:48 Bharata B Rao
  2015-06-24  4:01 ` Bharata B Rao
  2016-05-11 21:50 ` Reza Arbab
  0 siblings, 2 replies; 5+ messages in thread
From: Bharata B Rao @ 2015-06-22  4:48 UTC (permalink / raw)
  To: linuxppc-dev, linux-kernel@vger.kernel.org
  Cc: Nathan Fontenot, Paul Mackerras, Anton Blanchard

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/

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

end of thread, other threads:[~2016-05-11 21:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-22  4:48 powerpc,numa: Memory hotplug to memory-less nodes ? Bharata B Rao
2015-06-24  4:01 ` Bharata B Rao
2015-06-24 12:13   ` Nathan Fontenot
2015-06-25 15:33     ` Nishanth Aravamudan
2016-05-11 21:50 ` Reza Arbab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).