diff options
author | Weijie Yang | 2014-12-13 01:55:07 +0100 |
---|---|---|
committer | Linus Torvalds | 2014-12-13 21:42:46 +0100 |
commit | c313dc5dedbc9b51bb7a77959ffbda44712ac2e1 (patch) | |
tree | 031d187587ccc0b527730cc371f5601581009aff /mm/memcontrol.c | |
parent | mm/rmap: calculate page offset when needed (diff) | |
download | kernel-qcow2-linux-c313dc5dedbc9b51bb7a77959ffbda44712ac2e1.tar.gz kernel-qcow2-linux-c313dc5dedbc9b51bb7a77959ffbda44712ac2e1.tar.xz kernel-qcow2-linux-c313dc5dedbc9b51bb7a77959ffbda44712ac2e1.zip |
mm: mincore: add hwpoison page handle
When the encountered pte is a swap entry, the current code handles two
cases: migration and normal swapentry, but we have a third case: hwpoison
page.
This patch adds hwpoison page handle, consider hwpoison page incore as
same as migration.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Rik van Riel <riel@redhat.com>
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions