Re: [PATCH v9 06/12] x86/mm: use INVLPGB for kernel TLB flushes

From: Rik van Riel
Date: Fri Feb 07 2025 - 15:51:17 EST


On Fri, 2025-02-07 at 17:03 +0100, Brendan Jackman wrote:
> O
> With !CPU_SUP_AMD and the above, broadcast_kernel_range_flush
> disappears from tlb.o. (Caveat - I didn't actually read the disasm I
> just made it noinline and checked the call disappeared).
>
> It's actually more lines of code but now they're off in a boilerplate
> header and it's consistent with the other flags that do this.
>
What compiler did you use?

While I like the cleanup in principle, I
don't want to saddle people with older
compilers with extra code they don't need.

--
All Rights Reversed.