Re: [PATCH RESEND 1/2] x86/locking: Use ALT_OUTPUT_SP() for percpu_{,try_}cmpxchg{64,128}_op()

From: Dave Hansen
Date: Thu Feb 13 2025 - 15:44:00 EST


On 2/13/25 11:14, Uros Bizjak wrote:
> percpu_{,try_}cmpxchg{64,128}() macros use CALL instruction inside
> asm statement in one of their alternatives. Use ALT_OUTPUT_SP()
> macro to add required dependence on %esp register.

Is this just a pedantic fix? Or is there an actual impact to end users
that needs to be considered?

Basically, you've told me what the patch does, but not why anyone should
care or why it should be applied.