mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
b8593bfda1
commit
1a687c2e9a
7 changed files with 101 additions and 17 deletions
|
|
@ -720,6 +720,14 @@ config ARCH_USES_NUMA_PROT_NONE
|
|||
depends on ARCH_WANTS_PROT_NUMA_PROT_NONE
|
||||
depends on NUMA_BALANCING
|
||||
|
||||
config NUMA_BALANCING_DEFAULT_ENABLED
|
||||
bool "Automatically enable NUMA aware memory/task placement"
|
||||
default y
|
||||
depends on NUMA_BALANCING
|
||||
help
|
||||
If set, autonumic NUMA balancing will be enabled if running on a NUMA
|
||||
machine.
|
||||
|
||||
config NUMA_BALANCING
|
||||
bool "Memory placement aware NUMA scheduler"
|
||||
default y
|
||||
|
|
|
|||
Loading…
Reference in a new issue