summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGabriele Paoloni <gabriele.paoloni@intel.com>2020-11-27 16:18:16 +0000
committerBorislav Petkov <bp@suse.de>2020-12-01 18:45:56 +0100
commite273e6e12ab1db3eb57712bd60655744d0091fa3 (patch)
treef63cb913895ed66984dd6f9e5528ee45398a9cc0 /tools/perf/scripts/python/export-to-postgresql.py
parent15936ca13dac032a3f4e6b4ba78add3880bddcf3 (diff)
x86/mce: Move the mce_panic() call and 'kill_it' assignments to the right places
Right now, for local MCEs the machine calls panic(), if needed, right after lmce is set. For MCE broadcasting, mce_reign() takes care of calling mce_panic(). Hence: - improve readability by moving the conditional evaluation of tolerant up to when kill_it is set first; - move the mce_panic() call up into the statement where mce_end() fails. [ bp: Massage, remove comment in the mce_end() failure case because it is superfluous; use local ptr 'cfg' in both tests. ] Signed-off-by: Gabriele Paoloni <gabriele.paoloni@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20201127161819.3106432-3-gabriele.paoloni@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions