aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2023-05-12 14:05:11 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-05-12 17:53:18 +0200
commitd2408e043e7296017420aa5929b3bba4d5e61013 (patch)
tree8f02c7889df096fd43ab30c8a2bb7ae031b3f521 /tools/perf/scripts/python/export-to-sqlite.py
parentx86/alternative: Complicate optimize_nops() some more (diff)
downloadwireguard-linux-d2408e043e7296017420aa5929b3bba4d5e61013.tar.xz
wireguard-linux-d2408e043e7296017420aa5929b3bba4d5e61013.zip
x86/alternative: Optimize returns patching
Instead of decoding each instruction in the return sites range only to realize that that return site is a jump to the default return thunk which is needed - X86_FEATURE_RETHUNK is enabled - lift that check before the loop and get rid of that loop overhead. Add comments about what gets patched, while at it. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20230512120952.7924-1-bp@alien8.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions