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

Borislav Petkov
2025-10-22T10:53:23Z

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.