* [RESEND PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
@ 2026-07-29 8:55 Bing Huang
2026-07-30 12:44 ` Chen, Yu C
0 siblings, 1 reply; 3+ messages in thread
From: Bing Huang @ 2026-07-29 8:55 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Mel Gorman
Cc: Chen Yu, Tim Chen, Julian Braha, Bing Huang, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RESEND PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
2026-07-29 8:55 [RESEND PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING Bing Huang
@ 2026-07-30 12:44 ` Chen, Yu C
0 siblings, 0 replies; 3+ messages in thread
From: Chen, Yu C @ 2026-07-30 12:44 UTC (permalink / raw)
To: Bing Huang
Cc: Tim Chen, Julian Braha, linux-kernel, Mel Gorman, Ingo Molnar,
Peter Zijlstra
On 7/29/2026 4:55 PM, Bing Huang wrote:
> 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>
SCHED_CACHE seemed to break the tie between NUMA_BALANCING and
NUMA_BALANCING_DEFAULT_ENABLED, thanks for the adjustment.
Reviewed-by: Chen Yu <yu.c.chen@intel.com>
thanks,
Chenyu
^ permalink raw reply [flat|nested] 3+ messages in thread
* [RESEND PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
@ 2026-08-12 7:29 Bing Huang
0 siblings, 0 replies; 3+ messages in thread
From: Bing Huang @ 2026-08-12 7:29 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Mel Gorman
Cc: Chen Yu, Tim Chen, Julian Braha, linux-kernel, Bing Huang
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>
Reviewed-by: Chen Yu <yu.c.chen@intel.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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-12 7:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 8:55 [RESEND PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING Bing Huang
2026-07-30 12:44 ` Chen, Yu C
2026-08-12 7:29 Bing Huang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®