From: Peter Zijlstra Date: Sun, 11 Nov 2012 14:09:59 +0000 (+0100) Subject: sched, numa, mm, arch: Add variable locality exception X-Git-Tag: next-20121205~43^2~2^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cdb949aa3f64168527963495526982aa4a288258;p=karo-tx-linux.git sched, numa, mm, arch: Add variable locality exception Some architectures (ab)use NUMA to represent different memory regions all cpu-local but of different latencies, such as SuperH. The naming comes from Mel Gorman. Named-by: Mel Gorman Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Cc: Andrew Morton Cc: Andrea Arcangeli Cc: Rik van Riel Cc: Mel Gorman Cc: Thomas Gleixner Cc: Hugh Dickins Signed-off-by: Ingo Molnar --- diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index cb8f9920f4dd..5d2a4df179e9 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -111,6 +111,7 @@ config VSYSCALL config NUMA bool "Non Uniform Memory Access (NUMA) Support" depends on MMU && SYS_SUPPORTS_NUMA && EXPERIMENTAL + select ARCH_WANTS_NUMA_VARIABLE_LOCALITY default n help Some SH systems have many various memories scattered around diff --git a/init/Kconfig b/init/Kconfig index f36c83d2e8ea..b8a4a5822cf4 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -718,6 +718,13 @@ config ARCH_USES_NUMA_GENERIC_PGPROT_HUGEPAGE depends on ARCH_USES_NUMA_GENERIC_PGPROT depends on TRANSPARENT_HUGEPAGE +# +# For architectures that (ab)use NUMA to represent different memory regions +# all cpu-local but of different latencies, such as SuperH. +# +config ARCH_WANTS_NUMA_VARIABLE_LOCALITY + bool + menuconfig CGROUPS boolean "Control Group support" depends on EVENTFD