lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250916135524.483752-2-vishalc@linux.ibm.com>
Date: Tue, 16 Sep 2025 19:25:25 +0530
From: Vishal Chourasia <vishalc@...ux.ibm.com>
To: tglx@...utronix.de, linux-kernel@...r.kernel.org, x86@...nel.org,
        hpa@...or.com, bp@...en8.de, mingo@...hat.com,
        dave.hansen@...ux.intel.com
Cc: Vishal Chourasia <vishalc@...ux.ibm.com>
Subject: [PATCH] x86/kernel/smpboot: fix typo about notify_cpu_starting

`notify_cpu_starting()` takes the min of the target state and
CPUHP_AP_ONLINE

Signed-off-by: Vishal Chourasia <vishalc@...ux.ibm.com>
---
 arch/x86/kernel/smpboot.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 33e166f6ab12..3561b5ed6ab0 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -204,10 +204,7 @@ static void ap_starting(void)
 
 	wmb();
 
-	/*
-	 * This runs the AP through all the cpuhp states to its target
-	 * state CPUHP_ONLINE.
-	 */
+	/* This runs the AP up to the CPUHP_AP_ONLINE state */
 	notify_cpu_starting(cpuid);
 }
 
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ