Re: [PATCH 04/20] x86/cpu: Use named asm operands in clflushopt()

From: Linus Torvalds
Date: Fri Mar 14 2025 - 19:46:28 EST


On Fri, 14 Mar 2025 at 11:42, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> + alternative_io(".byte 0x3e; clflush %[val]",
> + ".byte 0x66; clflush %[val]", X86_FEATURE_CLFLUSHOPT,
> + [val] "+m" (*(volatile char __force *)__p));

Hmm. I think we could just use 'clflushopt', it looks like it exists
in binutils-2.25, which is our minimal version requirement.

But maybe that's a separate cleanup.

Linus