diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-02-24 13:37:08 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-26 12:24:09 +0100 |
commit | 06926c6cdb955bf24521d4e13af95b4d062d02d0 (patch) | |
tree | ba8f9d9d2c26983f3b3968d8e7ff22776e3057cd /tools/perf/scripts/python/stackcollapse.py | |
parent | e33d805a1005bf7b8a5a53559c81a8e17f0b981b (diff) |
x86/ibt: Optimize the FineIBT instruction sequence
Scott notes that non-taken branches are faster. Abuse overlapping code
that traps instead of explicit UD2 instructions.
And LEA does not modify flags and will have less dependencies.
Suggested-by: Scott Constable <scott.d.constable@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250224124200.371942555@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions