Re: [PATCH v10 03/15] x86/alternatives: Disable LASS when patching kernel alternatives

From: Borislav Petkov

Date: Wed Oct 22 2025 - 06:53:23 EST


On Wed, Oct 22, 2025 at 12:22:53PM +0200, Peter Zijlstra wrote:
> I'm thinking that machines without LASS don't need the clac/stac in
> these places. And when reading the asm, the FEATURE_LASS is a clue.

Yeah, makes sense. The second alternative with LASS sounds like the optimal
thing.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette