Re: [PATCH v11 05/12] x86/mm: add INVLPGB support code
From: Borislav Petkov
Date: Thu Feb 20 2025 - 05:24:49 EST
On Wed, Feb 19, 2025 at 09:49:01PM -0500, Rik van Riel wrote:
> I'll re-do the series without ifdefs, except for
> the one masking out X86_FEATURE_INVLPGB (on 32
> bit systems).
>
> Then the compiler should be able to get rid of
> the other code, when the feature is hard-disabled.
Thanks.
In talking to Dave last night, I think we are fine with having the majority of
ifdeffery in headers and keep it away from .c files.
Any new Kconfig symbol adds more configurations we must build and test but...
oh well.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette