Re: [PATCH v1 2/3] x86/msr: Switch between WRMSRNS and WRMSR with the alternatives mechanism
From: H. Peter Anvin
Date: Sun Aug 18 2024 - 02:17:38 EST
On 8/17/24 22:49, Borislav Petkov wrote:
On Sat, Aug 17, 2024 at 12:22:22PM -0700, H. Peter Anvin wrote:
The padding avoids unnecessary NOPs.
And a NOP vs some other prefix to have one less insn matters practically
how exactly here?
Pretty much nothing, but it is zero cost and possibly some insanely
small gain.
-hpa