]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sched, mm, x86: Add the ARCH_SUPPORTS_NUMA_BALANCING flag
authorIngo Molnar <mingo@kernel.org>
Tue, 13 Nov 2012 11:02:13 +0000 (12:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Nov 2012 02:31:55 +0000 (03:31 +0100)
Allow architectures to opt-in to the adaptive affinity NUMA balancing code.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
init/Kconfig

index b8a4a5822cf46186c80e8abf2637128420de851c..cf3e79c387c7ac9814e2852fcbd6c93a753e5fe3 100644 (file)
@@ -725,6 +725,13 @@ config ARCH_USES_NUMA_GENERIC_PGPROT_HUGEPAGE
 config ARCH_WANTS_NUMA_VARIABLE_LOCALITY
        bool
 
+#
+# For architectures that want to enable the PROT_NONE driven,
+# NUMA-affine scheduler balancing logic:
+#
+config ARCH_SUPPORTS_NUMA_BALANCING
+       bool
+
 menuconfig CGROUPS
        boolean "Control Group support"
        depends on EVENTFD