lkml.org 
[lkml]   [2010]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [v2,3/8] NUMA Hotplug emulator
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).


\
 
 \ /
  Last update: 2010-11-15 07:49    [W:0.024 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site