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

From: David Rientjes
Date: Thu Nov 18 2010 - 16:28:56 EST


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.
--
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/