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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aBr8cNXD630JbIxP@liuwe-devbox-ubuntu-v2.tail21d00.ts.net>
Date: Wed, 7 May 2025 06:23:44 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Roman Kisel <romank@...ux.microsoft.com>
Cc: ardb@...nel.org, bp@...en8.de, dave.hansen@...ux.intel.com,
	decui@...rosoft.com, dimitri.sivanich@....com,
	haiyangz@...rosoft.com, hpa@...or.com, imran.f.khan@...cle.com,
	jacob.jun.pan@...ux.intel.com, jgross@...e.com,
	justin.ernst@....com, kprateek.nayak@....com, kyle.meyer@....com,
	kys@...rosoft.com, lenb@...nel.org, mingo@...hat.com,
	nikunj@....com, papaluri@....com, perry.yuan@....com,
	peterz@...radead.org, rafael@...nel.org, russ.anderson@....com,
	steve.wahl@....com, tglx@...utronix.de, thomas.lendacky@....com,
	tim.c.chen@...ux.intel.com, tony.luck@...el.com, wei.liu@...nel.org,
	xin@...or.com, yuehaibing@...wei.com, linux-acpi@...r.kernel.org,
	linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
	x86@...nel.org, apais@...rosoft.com, benhill@...rosoft.com,
	bperkins@...rosoft.com, sunilmut@...rosoft.com
Subject: Re: [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the
 wakeup AP callback

On Tue, May 06, 2025 at 02:58:34AM +0000, Wei Liu wrote:
> On Wed, Apr 30, 2025 at 01:47:20PM -0700, Roman Kisel wrote:
> > When starting APs, confidential guests and paravisor guests
> > need to know the CPU number, and the pattern of using the linear
> > search has emerged in several places. With N processors that leads
> > to the O(N^2) time complexity.
> > 
> > Provide the CPU number in the AP wake up callback so that one can
> > get the CPU number in constant time.
> > 
> > Suggested-by: Michael Kelley <mhklinux@...look.com>
> > Signed-off-by: Roman Kisel <romank@...ux.microsoft.com>
> > Reviewed-by: Tom Lendacky <thomas.lendacky@....com>
> 
> Queued to hyperv-next. Thanks.

This patch broke linux-next. I have dropped it. Please change
numachip_wakeup_secondary.

Wei.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ