aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2020-10-06 14:09:08 -0700
committerBorislav Petkov <[email protected]>2020-10-07 11:26:56 +0200
commita2f73400e4dfd13f673c6e1b4b98d180fd1e47b3 (patch)
treea5d030e77f79749577a87f770ee146d68d59b90d /tools/perf/scripts/python/export-to-postgresql.py
parent278b917f8cb9b02923c15249f9d1a5769d2c1976 (diff)
x86/mce: Avoid tail copy when machine check terminated a copy from user
In the page fault case it is ok to see if a few more unaligned bytes can be copied from the source address. Worst case is that the page fault will be triggered again. Machine checks are more serious. Just give up at the point where the main copy loop triggered the #MC and return from the copy code as if the copy succeeded. The machine check handler will use task_work_add() to make sure that the task is sent a SIGBUS. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions