summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/espfix_64.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-05-15 11:28:05 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-05-31 10:21:21 +0200
commitdf25edbac31ea87b488789d44a362063542b5967 (patch)
treeb1d07931c90fee18415cda9e054b7a710d2760ef /arch/x86/kernel/espfix_64.c
parentd42a2a89121071cc8dd285235253a4c739641635 (diff)
x86/alternatives: Add longer 64-bit NOPs
By adding support for longer NOPs there are a few more alternatives that can turn into a single instruction. Add up to NOP11, the same limit where GNU as .nops also stops generating longer nops. This is because a number of uarchs have severe decode penalties for more than 3 prefixes. [ bp: Sync up with the version in tools/ while at it. ] Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230515093020.661756940@infradead.org
Diffstat (limited to 'arch/x86/kernel/espfix_64.c')
0 files changed, 0 insertions, 0 deletions