Hello,
The subject is a bit misleading. Maybe it should say "allow getting
..." rather than "get ..."?
......
On Thu, Aug 08, 2013 at 06:16:13PM +0800, Tang Chen wrote:
I suppose the above three paragraphs are trying to say
* A hotpluggable NUMA node may be composed of multiple memory devices
which individually are hot-pluggable.
* pg_data_t and page tables the serving a NUMA node may be located in
the same node they're serving; however, if the node is composed of
multiple hotpluggable memory devices, the device containing them
should be the last one to be removed.
* For physical memory hotplug, whole NUMA node hotunplugging is fine;
however, in virtualizied environments, finer grained hotunplugging
is desirable; unfortunately, there currently is no way to which
specific memory device pg_data_t and page tables are allocated
inside making it impossible to order unpluggings of memory devices
of a NUMA node. To avoid the ordering problem while allowing
removal of subset fo a NUMA node, it has been decided that pg_data_t
and page tables should be allocated on a different non-hotpluggable
NUMA node.
Am I following it correctly? If so, can you please update the
description? It's quite confusing.
Also, the decision seems rather
poorly made. It should be trivial to allocate memory for pg_data_t
and page tables in one end of the NUMA node and just record the
boundary to distinguish between the area which can be removed any time
and the other which can only be removed as a unit as the last step.