2014-10-08 10:47:50

by Aneesh Kumar K.V

[permalink] [raw]
Subject: [PATCH] mm/numa balancing: Rearrange Kconfig entry

Add the default enable config option after the NUMA_BALANCING option
so that it appears related in the nconfig interface.

Signed-off-by: Aneesh Kumar K.V <[email protected]>
---
init/Kconfig | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 5a5613ed49bc..d73c934f9e77 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -889,14 +889,6 @@ config ARCH_SUPPORTS_INT128
config ARCH_WANT_NUMA_VARIABLE_LOCALITY
bool

-config NUMA_BALANCING_DEFAULT_ENABLED
- bool "Automatically enable NUMA aware memory/task placement"
- default y
- depends on NUMA_BALANCING
- help
- If set, automatic NUMA balancing will be enabled if running on a NUMA
- machine.
-
config NUMA_BALANCING
bool "Memory placement aware NUMA scheduler"
depends on ARCH_SUPPORTS_NUMA_BALANCING
@@ -909,6 +901,14 @@ config NUMA_BALANCING

This system will be inactive on UMA systems.

+config NUMA_BALANCING_DEFAULT_ENABLED
+ bool "Automatically enable NUMA aware memory/task placement"
+ default y
+ depends on NUMA_BALANCING
+ help
+ If set, automatic NUMA balancing will be enabled if running on a NUMA
+ machine.
+
menuconfig CGROUPS
boolean "Control Group support"
select KERNFS
--
1.9.1