diff options
author | Tony Luck <[email protected]> | 2016-04-30 14:33:56 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-05-03 08:24:16 +0200 |
commit | 5541c93cdf0cc0bb7f6065b43509171838665ea1 (patch) | |
tree | 74d1a60010866e06e761da4896df9d5418a011b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d9d73fcc878469d209d7a7030726f20dd10841a7 (diff) |
x86/mce: Look in genpool instead of mcelog for pending error records
A couple of issues here:
1) MCE_LOG_LEN is only 32 - so we may have more pending records than will
fit in the buffer on high core count CPUs.
2) During a panic we may have a lot of duplicate records because multiple
logical CPUs may have seen and logged the same error because some
banks are shared.
Switch to using the genpool to look for the pending records. Squeeze out
duplicated records.
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ashok Raj <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions