The NUMA_BALANCING_DEFAULT_ENABLED config option is semantically
related to NUMA_BALANCING. Move it directly after its parent option
so they are grouped together, improving readability.
As a side effect, the prompt for this option will now be indented
below that of NUMA_BALANCING in menuconfig, rendered as part of its
submenu.
No functional change beyond the visual grouping.
Signed-off-by: Bing Huang <huangbing@kylinos.cn>
Reviewed-by: Julian Braha <julianbraha@gmail.com>
---
v2:
- Updated commit message to note menuconfig indentation side effect
(suggested by Julian Braha)
init/Kconfig | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index 53178ea4bc93..68f259fea239 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1019,6 +1019,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.
+
config SCHED_CACHE
bool "Cache aware load balance"
default y
@@ -1030,14 +1038,6 @@ config SCHED_CACHE
resources within the same cache domain, reducing cache misses and
lowering data access latency.
-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 SLAB_OBJ_EXT
bool
--
2.25.1