Re: [PATCH v3] mm: make expand_downwards symmetrical toexpand_upwards

From: David Rientjes
Date: Wed Apr 20 2011 - 17:05:35 EST


On Wed, 20 Apr 2011, KOSAKI Motohiro wrote:

> diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
> index 69ff049..0bf9ae8 100644
> --- a/arch/parisc/Kconfig
> +++ b/arch/parisc/Kconfig
> @@ -229,6 +229,12 @@ config HOTPLUG_CPU
> default y if SMP
> select HOTPLUG
>
> +config NUMA
> + bool "NUMA support"
> + help
> + Say Y to compile the kernel to support NUMA (Non-Uniform Memory
> + Access).
> +
> config ARCH_SELECT_MEMORY_MODEL
> def_bool y
> depends on 64BIT
> @@ -236,6 +242,7 @@ config ARCH_SELECT_MEMORY_MODEL
> config ARCH_DISCONTIGMEM_ENABLE
> def_bool y
> depends on 64BIT
> + depends on NUMA
>
> config ARCH_FLATMEM_ENABLE
> def_bool y

I think this should probably be

diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -244,6 +244,9 @@ config ARCH_DISCONTIGMEM_DEFAULT
def_bool y
depends on ARCH_DISCONTIGMEM_ENABLE

+config NUMA
+ def_bool ARCH_DISCONTIGMEM_ENABLE
+
config NODES_SHIFT
int
default "3"

instead since we don't need CONFIG_NUMA for anything other than
CONFIG_PA8X00 and 64-bit enabled.
--
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/