diff options
| author | Robert Richter <[email protected]> | 2020-02-17 11:30:23 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2020-02-17 12:37:00 +0000 |
| commit | 4aa92c86463273b673e4170c60cb78e2625781eb (patch) | |
| tree | a86e808795886e92efedbf03a98cb32244a0d447 /tools/perf/scripts/python/compaction-times.py | |
| parent | EDAC/mc: Remove detail[] string and cleanup error string generation (diff) | |
| download | kernel-4aa92c86463273b673e4170c60cb78e2625781eb.tar.gz kernel-4aa92c86463273b673e4170c60cb78e2625781eb.zip | |
EDAC/mc: Remove per layer counters
Looking at how mci->{ue,ce}_per_layer[EDAC_MAX_LAYERS] is used, it
turns out that only the leaves in the memory hierarchy are consumed
(in sysfs), but not the intermediate layers, e.g.:
count = dimm->mci->ce_per_layer[dimm->mci->n_layers-1][dimm->idx];
These unused counters only add complexity, remove them. The error
counter values are directly stored in struct dimm_info now.
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Aristeu Rozanski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
