diff options
| author | Mel Gorman <mgorman@suse.de> | 2012-11-22 06:16:36 -0500 |
|---|---|---|
| committer | Mel Gorman <mgorman@suse.de> | 2012-12-11 09:42:55 -0500 |
| commit | 1a687c2e9a99335c9e77392f050fe607fa18a652 (patch) | |
| tree | 06df958bfdfeaf9f38f333af106b55faa81f1c6b /init | |
| parent | b8593bfda1652755136333cdd362de125b283a9c (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 'init')
| -rw-r--r-- | init/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9f00f004796a..18e2a5920a34 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -720,6 +720,14 @@ config ARCH_USES_NUMA_PROT_NONE | |||
| 720 | depends on ARCH_WANTS_PROT_NUMA_PROT_NONE | 720 | depends on ARCH_WANTS_PROT_NUMA_PROT_NONE |
| 721 | depends on NUMA_BALANCING | 721 | depends on NUMA_BALANCING |
| 722 | 722 | ||
| 723 | config NUMA_BALANCING_DEFAULT_ENABLED | ||
| 724 | bool "Automatically enable NUMA aware memory/task placement" | ||
| 725 | default y | ||
| 726 | depends on NUMA_BALANCING | ||
| 727 | help | ||
| 728 | If set, autonumic NUMA balancing will be enabled if running on a NUMA | ||
| 729 | machine. | ||
| 730 | |||
| 723 | config NUMA_BALANCING | 731 | config NUMA_BALANCING |
| 724 | bool "Memory placement aware NUMA scheduler" | 732 | bool "Memory placement aware NUMA scheduler" |
| 725 | default y | 733 | default y |
