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

Rik van Riel
2025-02-07T20:51:08Z

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.