Commit-ID: ab9a38e76c17f907ae2fc45bfa244c0d0d083357 Gitweb: http://git.kernel.org/tip/ab9a38e76c17f907ae2fc45bfa244c0d0d083357 Author: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> AuthorDate: Sun, 11 Nov 2012 15:09:59 +0100 Committer: Ingo Molnar <mingo@xxxxxxxxxx> CommitDate: Tue, 13 Nov 2012 14:11:50 +0100 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 <mgorman@xxxxxxx> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxx> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx> --- arch/sh/mm/Kconfig | 1 + init/Kconfig | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index cb8f992..0f7c852 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_WANT_NUMA_VARIABLE_LOCALITY default n help Some SH systems have many various memories scattered around diff --git a/init/Kconfig b/init/Kconfig index 6fdd6e3..ae412fd 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -696,6 +696,13 @@ config LOG_BUF_SHIFT config HAVE_UNSTABLE_SCHED_CLOCK bool +# +# For architectures that (ab)use NUMA to represent different memory regions +# all cpu-local but of different latencies, such as SuperH. +# +config ARCH_WANT_NUMA_VARIABLE_LOCALITY + bool + menuconfig CGROUPS boolean "Control Group support" depends on EVENTFD -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html