Re: [PATCH hyperv-next v3] arch/x86: Provide the CPU number in the wakeup AP callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/6/2025 11:23 PM, Wei Liu wrote:
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@xxxxxxxxxxx>
Signed-off-by: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

Queued to hyperv-next. Thanks.

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


Thanks for your help! Working on that.

Wei.

--
Thank you,
Roman





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux