diff options
author | Peter Zijlstra <[email protected]> | 2020-02-20 13:17:27 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:14:34 +0200 |
commit | e9660391d0ebd174b169af3d6de680c2f836027c (patch) | |
tree | 807efa70f0ff4dfaf303fe5d9d2358d2f93b4a3b /tools/perf/scripts/python/flamegraph.py | |
parent | 24ae0c91cbc57c2deb0401bd653453a508acdcee (diff) |
x86/doublefault: Remove memmove() call
Use of memmove() in #DF is problematic considered tracing and other
instrumentation.
Remove the memmove() call and simply write out what needs doing; this
even clarifies the code, win-win! The code copies from the espfix64
stack to the normal task stack, there is no possible way for that to
overlap.
Survives selftests/x86, specifically sigreturn_64.
Suggested-by: Borislav Petkov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions