Re: [PATCH 1/4] x86/srso: Rename srso_alias_*() to srso_fam19_*()

From: Borislav Petkov
Date: Wed Sep 13 2023 - 09:46:33 EST


On Mon, Aug 21, 2023 at 12:27:20PM +0100, Andrew Cooper wrote:
> The 'alias' name name is an internal detail of how the logic works. Rename it
> to state which microarchitecture is is applicable to.

Sorry, no. Hardcoding the family into some function is a backwards. The
moment you need to apply this to some other family, it becomes wrong.

And I prefer much more "srso" and "srso_alias".

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette