aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2019-04-20 14:06:37 +0200
committerBorislav Petkov <[email protected]>2019-06-08 17:33:10 +0200
commitde0e0624d86ff9fc512dedb297f8978698abf21a (patch)
tree28d6d96ec9e4765a65a096cf1e26d0611e929193 /tools/perf/scripts/python/export-to-sqlite.py
parent6d8e294bf5f0e85c34e8b14b064e2965f53f38b0 (diff)
RAS/CEC: Check count_threshold unconditionally
The count_threshold should be checked unconditionally, after insertion too, so that a count_threshold value of 1 can cause an immediate offlining. I.e., offline the page on the *first* error encountered. Add comments to make it clear what cec_add_elem() does, while at it. Reported-by: WANG Chao <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Tony Luck <[email protected]> Cc: [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