From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx112.postini.com [74.125.245.112]) by kanga.kvack.org (Postfix) with SMTP id 8D7A66B007D for ; Sun, 18 Nov 2012 21:15:52 -0500 (EST) Received: by mail-ee0-f41.google.com with SMTP id d41so3182484eek.14 for ; Sun, 18 Nov 2012 18:15:52 -0800 (PST) From: Ingo Molnar Subject: [PATCH 14/27] sched, numa, mm, arch: Add variable locality exception Date: Mon, 19 Nov 2012 03:14:31 +0100 Message-Id: <1353291284-2998-15-git-send-email-mingo@kernel.org> In-Reply-To: <1353291284-2998-1-git-send-email-mingo@kernel.org> References: <1353291284-2998-1-git-send-email-mingo@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , Mel Gorman , Andrew Morton , Andrea Arcangeli , Linus Torvalds , Thomas Gleixner , Johannes Weiner , Hugh Dickins From: Peter Zijlstra 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 --- arch/sh/mm/Kconfig | 1 + init/Kconfig | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index cb8f992..5d2a4df 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 f36c83d..b8a4a58 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 -- 1.7.11.7 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org