aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2020-09-08 10:55:12 -0700
committerBorislav Petkov <[email protected]>2020-09-14 19:25:23 +0200
commit13c877f4b48b943105ad9e13ba2c7a093fb694e8 (patch)
tree6e8a1abadbbb21a1412ce24b8df0a7d9bb637949 /tools/perf/scripts/python/export-to-sqlite.py
parente2def7d49d0812ea40a224161b2001b2e815dce2 (diff)
x86/mce: Stop mce_reign() from re-computing severity for every CPU
Back in commit: 20d51a426fe9 ("x86/mce: Reuse one of the u16 padding fields in 'struct mce'") a field was added to "struct mce" to save the computed error severity. Make use of this in mce_reign() to avoid re-computing the severity for every CPU. In the case where the machine panics, one call to mce_severity() is still needed in order to provide the correct message giving the reason for the panic. 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-sqlite.py')
0 files changed, 0 insertions, 0 deletions