* [PATCH] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
@ 2026-07-23 5:50 Bing Huang
2026-07-23 22:49 ` Julian Braha
0 siblings, 1 reply; 3+ messages in thread
From: Bing Huang @ 2026-07-23 5:50 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Mel Gorman
Cc: Chen Yu, Tim Chen, 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.
No functional change.
Signed-off-by: Bing Huang <huangbing@kylinos.cn>
---
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: [PATCH] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
2026-07-23 5:50 [PATCH] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING Bing Huang
@ 2026-07-23 22:49 ` Julian Braha
2026-07-24 3:39 ` Bing Huang
0 siblings, 1 reply; 3+ messages in thread
From: Julian Braha @ 2026-07-23 22:49 UTC (permalink / raw)
To: Bing Huang, Peter Zijlstra, Ingo Molnar, Mel Gorman
Cc: Chen Yu, Tim Chen, linux-kernel
Hi Bing,
On 7/23/26 06:50, 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.
>
> No functional change.
Actually there is actually a minor functional difference to the Kconfig
frontend (e.g menuconfig): the prompt for this option will now be
indented below that of NUMA_BALANCING, rendered as part of its submenu.
(This is a good thing...)
Reviewed-by: Julian Braha <julianbraha@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING
2026-07-23 22:49 ` Julian Braha
@ 2026-07-24 3:39 ` Bing Huang
0 siblings, 0 replies; 3+ messages in thread
From: Bing Huang @ 2026-07-24 3:39 UTC (permalink / raw)
To: Julian Braha
Cc: Bing Huang, Peter Zijlstra, Ingo Molnar, Mel Gorman, Chen Yu,
Tim Chen, linux-kernel
Hi Julian,
Thanks for the review and the great catch about the menuconfig
indentation -- that's a nice side effect I hadn't mentioned.
I've updated the commit to include your Reviewed-by tag and expanded
the commit message to note the visual grouping change.
Thanks,
Bing
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-24 3:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 5:50 [PATCH] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING Bing Huang
2026-07-23 22:49 ` Julian Braha
2026-07-24 3:39 ` 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®