diff options
| author | Naoya Horiguchi <[email protected]> | 2013-02-22 16:34:05 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-02-23 17:50:15 -0800 |
| commit | 4db0e950c5b78586bea9e1b027be849631f89a17 (patch) | |
| tree | 5a61c3ebe9274fdd744c59b0d078bb1a18e392b6 /tools/perf/scripts/python | |
| parent | af8fae7c08862bb85c5cf445bf9b36314b82111f (diff) | |
mm/memory-failure.c: fix wrong num_poisoned_pages in handling memory error on thp
num_poisoned_pages counts up the number of pages isolated by memory
errors. But for thp, only one subpage is isolated because memory error
handler splits it, so it's wrong to add (1 << compound_trans_order).
[[email protected]: tweak comment]
Signed-off-by: Naoya Horiguchi <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions