Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932320Ab2KMRSN (ORCPT ); Tue, 13 Nov 2012 12:18:13 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:33061 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932271Ab2KMRPc (ORCPT ); Tue, 13 Nov 2012 12:15:32 -0500 From: Ingo Molnar To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , Mel Gorman , Andrew Morton , Andrea Arcangeli , Linus Torvalds , Peter Zijlstra , Thomas Gleixner Subject: [PATCH 23/31] sched, numa, mm, arch: Add variable locality exception Date: Tue, 13 Nov 2012 18:13:46 +0100 Message-Id: <1352826834-11774-24-git-send-email-mingo@kernel.org> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1352826834-11774-1-git-send-email-mingo@kernel.org> References: <1352826834-11774-1-git-send-email-mingo@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1833 Lines: 59 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: Peter Zijlstra Cc: Andrea Arcangeli Cc: Rik van Riel Cc: Mel Gorman 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..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 -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/