diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-06-14 16:35:50 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-06-14 19:02:54 +0200 |
commit | 2bd4aa9325821551648cf9738d6aa3a49317d7e5 (patch) | |
tree | 86d2e879140656fc0df9330afd349bf85490d4d7 /tools/arch | |
parent | x86/alternatives: Add cond_resched() to text_poke_bp_batch() (diff) | |
download | linux-2bd4aa9325821551648cf9738d6aa3a49317d7e5.tar.xz linux-2bd4aa9325821551648cf9738d6aa3a49317d7e5.zip |
x86/alternative: PAUSE is not a NOP
While chasing ghosts, I did notice that optimize_nops() was replacing
'REP NOP' aka 'PAUSE' with NOP2. This is clearly not right.
Fixes: 6c480f222128 ("x86/alternative: Rewrite optimize_nops() some")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/linux-next/20230524130104.GR83892@hirez.programming.kicks-ass.net/
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions