From nobody Fri Jul 24 05:22:57 2026 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 784E82FD1AA for ; Fri, 24 Jul 2026 03:51:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784865087; cv=none; b=cf88hpHMrs+vTaZ3TeE555rLic+MrHUILtkSiW5GC2DwldZLFFpdBnuaiOO5DAuz4pkBbugqKSNvZnvxjmlCjKo5PjblWevmGeZF37xHUdqiGWvvzpICmrjrAHCQ8DnqQBYf/borVlsVy3tXtmJFeL1FEDTxX8TuJ0ZKYMlQ4xg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784865087; c=relaxed/simple; bh=aZuPWcVMbQgN8XJRBy2iMhLcRdcpEnMP2nRqSxOAvaM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=a/oVhR0KlzNwv9W5hQvC0rccOZZuJWzoDsBqxrbQbhZr25MWmw4qbSZHV6ZlMItJeNGRJFx1tNcbn9Xa3pf80qOLZ0ZoZNeA8LA1vp2euL/mhDIUsQ/Ptpft3PXJtUk7DGzs5ahP3MxmgRsiplmPxxRX1gsM3F/eTqwUHJIqE8E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: eb39f6c0871211f1aa26b74ffac11d73-20260724 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.12,REQID:84111628-f1ba-4363-be19-01bf2ab53822,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:e7bac3a,CLOUDID:fe8802084279f087d4ccd3e9ece796f3,BulkI D:nil,BulkQuantity:0,Recheck:0,SF:102|850|865|898,TC:nil,Content:0|15|50,E DM:-3,IP:nil,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA :0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: eb39f6c0871211f1aa26b74ffac11d73-20260724 X-User: huangbing@kylinos.cn Received: from localhost.localdomain [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from ) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 1188630003; Fri, 24 Jul 2026 11:51:15 +0800 From: Bing Huang To: Peter Zijlstra , Ingo Molnar , Mel Gorman Cc: Chen Yu , Tim Chen , Julian Braha , Bing Huang , linux-kernel@vger.kernel.org Subject: [PATCH v2] init/Kconfig: Move NUMA_BALANCING_DEFAULT_ENABLED next to NUMA_BALANCING Date: Fri, 24 Jul 2026 11:51:10 +0800 Message-Id: <20260724035110.226041-1-huangbing@kylinos.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Julian Braha --- 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 =20 This system will be inactive on UMA systems. =20 +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. =20 -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 =20 --=20 2.25.1