Re: [v2,3/8] NUMA Hotplug emulator

From: Paul Mundt
Date: Mon Nov 15 2010 - 01:47:07 EST


On Sat, Nov 13, 2010 at 02:15:19PM +0800, Shaohui Zheng wrote:
> diff --git a/mm/Kconfig b/mm/Kconfig
> index f0fb912..a01a679 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -147,6 +147,21 @@ config MEMORY_HOTREMOVE
> depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE
> depends on MIGRATION
>
> +config NUMA_HOTPLUG_EMU
> + bool "NUMA hotplug emulator"
> + depends on X86_64 && NUMA && MEMORY_HOTPLUG
> +
How about something like a dummy ARCH_ENABLE_NUMA_EMU instead? The
architecture bits here are quite minimal, and with some further
abstraction it should be trivially supportable by any platform with NUMA
and memblock support (and most (all?) of the NUMA capable platforms
support memblock now already).
--
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/