Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe interface to support NUMA

David Rientjes
2010-11-18T21:28:53Z

On Thu, 18 Nov 2010, Paul Mundt wrote:

> This is all stuff that the memblock API can deal with, I'm not sure why
> there seems to be an insistence on wedging all manner of unrelated bits
> in to e820. Many platforms using memblock today already offline large
> amounts of contiguous physical memory for use in drivers, if you were to
> follow this scheme and simply layer a node creation shim on top of that
> you would end up with something that is almost entirely generic.
>

I don't see why this patchset needs to use the memblock API at all, it
should be built entirely on the generic mem-hotplug API. The only
extension needed is the remapping of removed memory to a new node id (done
on x86 with update_nodes_add()) prior to add_memory() for each arch that
supports onlining new nodes.