Re: [patch v3 35/36] x86/smpboot: Support parallel startup of secondary CPUs

From: Peter Zijlstra
Date: Tue May 09 2023 - 09:58:48 EST


On Mon, May 08, 2023 at 09:44:23PM +0200, Thomas Gleixner wrote:
> + /* APIC ID not found in the table. Drop the trampoline lock and bail. */
> + movq trampoline_lock(%rip), %rax

Again:

movl $0, (%rax)

is sufficient for unlock.

> + lock
> + btrl $0, (%rax)