Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA hotplug emulation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Wednesday, November 17, 2010 - 1:16 am

On Wed, 17 Nov 2010, shaohui.zheng@intel.com wrote:


Hmm, why can't you use numa=hide to hide a specified quantity of memory 
from the kernel and then use the add_memory() interface to hot-add the 
offlined memory in the desired quantity?  In other words, why do you need 
to track the offlined nodes with a state?

The userspace interface would take a desired size of hidden memory to 
hot-add and the node id would be the first_unset_node(node_online_map).


size should be parsed with memparse() so users can specify 'M' or 'G', it 
would even make your parsing code simpler.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[8/8,v3] NUMA Hotplug Emulator: documentation, shaohui.zheng, (Tue Nov 16, 7:08 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ..., David Rientjes, (Wed Nov 17, 1:16 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Randy Dunlap, (Wed Nov 17, 4:06 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Wed Nov 17, 7:31 pm)
[patch 1/2] x86: add numa=possible command line option, David Rientjes, (Sat Nov 20, 7:28 pm)
[patch 2/2] mm: add node hotplug emulation, David Rientjes, (Sat Nov 20, 7:28 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Américo Wang, (Sun Nov 21, 8:03 am)
RE: [8/8,v3] NUMA Hotplug Emulator: documentation, Li, Haicheng, (Sun Nov 21, 8:16 am)
Re: [patch 2/2] mm: add node hotplug emulation, Greg KH, (Sun Nov 21, 10:34 am)
Re: [patch 1/2] x86: add numa=possible command line option, David Rientjes, (Sun Nov 21, 2:46 pm)
Re: [patch 2/2] mm: add node hotplug emulation, David Rientjes, (Sun Nov 21, 2:48 pm)
[patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Sun Nov 21, 4:08 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Sun Nov 21, 4:33 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Américo Wang, (Mon Nov 22, 9:04 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Mon Nov 22, 4:23 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Sat Nov 27, 6:52 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, Greg KH, (Sat Nov 27, 10:17 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Mon Nov 29, 5:04 pm)