Re: [7/7,v8] NUMA Hotplug Emulator: Implement per-node add_memorydebugfs interface

From: David Rientjes
Date: Mon Dec 13 2010 - 15:56:24 EST


On Mon, 13 Dec 2010, Shaohui Zheng wrote:

> For the state transition to N_HIGH_MEMORY, it does not happen on the above too
> interfaces. It happens when the memory was onlined with sysfs /sys/device/system/memory/memoryXX/online
> interface.
>
> That is the code path:
> store_mem_state
> ->memory_block_change_state
> ->memory_block_action
> ->online_pages
>
> if (onlined_pages) {
> kswapd_run(zone_to_nid(zone));
> node_set_state(zone_to_nid(zone), N_HIGH_MEMORY);
> }
>
> does it address your question? thanks.
>

Ok, thanks!
--
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/