aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2023-08-16 10:44:19 +0000
committerPeter Zijlstra <[email protected]>2023-08-17 11:24:09 +0000
commit54097309620ef0dc2d7083783dc521c6a5fef957 (patch)
treee12360560a5698d578a656e416cd68a234d8271e /tools/perf/scripts/python
parentobjtool/x86: Fixup frame-pointer vs rethunk (diff)
downloadkernel-54097309620ef0dc2d7083783dc521c6a5fef957.tar.gz
kernel-54097309620ef0dc2d7083783dc521c6a5fef957.zip
x86/static_call: Fix __static_call_fixup()
Christian reported spurious module load crashes after some of Song's module memory layout patches. Turns out that if the very last instruction on the very last page of the module is a 'JMP __x86_return_thunk' then __static_call_fixup() will trip a fault and die. And while the module rework made this slightly more likely to happen, it's always been possible. Fixes: ee88d363d156 ("x86,static_call: Use alternative RET encoding") Reported-by: Christian Bricart <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions