mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
numa: add a sysctl for numa_balancing
Add a working sysctl to enable/disable automatic numa memory balancing at runtime. This allows us to track down performance problems with this feature and is generally a good idea. This was possible earlier through debugfs, but only with special debugging options set. Also fix the boot message. [[email protected]: s/sched_numa_balancing/sysctl_numa_balancing/] Signed-off-by: Andi Kleen <[email protected]> Acked-by: Mel Gorman <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e270e2548
commit
54a43d5498
4 changed files with 37 additions and 2 deletions
|
|
@ -2668,7 +2668,7 @@ static void __init check_numabalancing_enable(void)
|
|||
|
||||
if (nr_node_ids > 1 && !numabalancing_override) {
|
||||
printk(KERN_INFO "Enabling automatic NUMA balancing. "
|
||||
"Configure with numa_balancing= or sysctl");
|
||||
"Configure with numa_balancing= or the kernel.numa_balancing sysctl");
|
||||
set_numabalancing_state(numabalancing_default);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue