aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2016-04-28 16:18:44 -0700
committerLinus Torvalds <[email protected]>2016-04-28 19:34:04 -0700
commitd7e69488bd04de165667f6bc741c1c0ec6042ab9 (patch)
treeb0e9a47dee4929026faac9d46ab69e4b2b03d522 /tools/perf/scripts/python/export-to-postgresql.py
parentb06bad17c7435b600a1d7a35b56eff25e1d3dbc0 (diff)
mm/hwpoison: fix wrong num_poisoned_pages accounting
Currently, migration code increses num_poisoned_pages on *failed* migration page as well as successfully migrated one at the trial of memory-failure. It will make the stat wrong. As well, it marks the page as PG_HWPoison even if the migration trial failed. It would mean we cannot recover the corrupted page using memory-failure facility. This patches fixes it. Signed-off-by: Minchan Kim <[email protected]> Reported-by: Vlastimil Babka <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions