]> 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>
Tue, 13 Nov 2012 17:09:26 +0000 (18:09 +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: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
init/Kconfig

index ae412fd4b66c3672418be3d31efaeb2961d35429..78807b320082de5122d939bf67769a0b587ecc38 100644 (file)
@@ -703,6 +703,13 @@ config HAVE_UNSTABLE_SCHED_CLOCK
 config ARCH_WANT_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