aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/features.h
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2012-11-22 06:16:36 -0500
committerMel Gorman <mgorman@suse.de>2012-12-11 09:42:55 -0500
commit1a687c2e9a99335c9e77392f050fe607fa18a652 (patch)
tree06df958bfdfeaf9f38f333af106b55faa81f1c6b /kernel/sched/features.h
parentb8593bfda1652755136333cdd362de125b283a9c (diff)
mm: sched: numa: Control enabling and disabling of NUMA balancing
This patch adds Kconfig options and kernel parameters to allow the enabling and disabling of automatic NUMA balancing. The existance of such a switch was and is very important when debugging problems related to transparent hugepages and we should have the same for automatic NUMA placement. Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'kernel/sched/features.h')
-rw-r--r--kernel/sched/features.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/sched/features.h b/kernel/sched/features.h
index 5fb7aefbec80..d2373a3e3252 100644
--- a/kernel/sched/features.h
+++ b/kernel/sched/features.h
@@ -63,8 +63,10 @@ SCHED_FEAT(RT_RUNTIME_SHARE, true)
63SCHED_FEAT(LB_MIN, false) 63SCHED_FEAT(LB_MIN, false)
64 64
65/* 65/*
66 * Apply the automatic NUMA scheduling policy 66 * Apply the automatic NUMA scheduling policy. Enabled automatically
67 * at runtime if running on a NUMA machine. Can be controlled via
68 * numa_balancing=
67 */ 69 */
68#ifdef CONFIG_NUMA_BALANCING 70#ifdef CONFIG_NUMA_BALANCING
69SCHED_FEAT(NUMA, true) 71SCHED_FEAT(NUMA, false)
70#endif 72#endif