2012-10-12 11:31:52

by Peter Zijlstra

[permalink] [raw]
Subject: [tip:sched/numa] sched/numa: Make CONFIG_SCHED_NUMA configurable

Commit-ID: 80dbd27b0bf14fc4359c59accf02e853826bf7e4
Gitweb: http://git.kernel.org/tip/80dbd27b0bf14fc4359c59accf02e853826bf7e4
Author: Peter Zijlstra <[email protected]>
AuthorDate: Wed, 10 Oct 2012 19:01:34 +0200
Committer: Ingo Molnar <[email protected]>
CommitDate: Fri, 12 Oct 2012 12:07:20 +0200

sched/numa: Make CONFIG_SCHED_NUMA configurable

Opt in to this new NUMA scheduling feature, because it does not cure cancer.

Requested-by: Ingo Molnar <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
init/Kconfig | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 140645a..c0cdb9a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -692,8 +692,11 @@ config EMBEDDED_NUMA
bool

config SCHED_NUMA
- def_bool y
+ bool "Memory placement aware NUMA scheduler"
+ default n
depends on SMP && NUMA && MIGRATION && !EMBEDDED_NUMA
+ help
+ This option adds support for automatic NUMA aware memory/task placement.

menuconfig CGROUPS
boolean "Control Group support"