diff options
author | Naoya Horiguchi | 2013-04-30 00:06:08 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-04-30 00:54:28 +0200 |
commit | e39862958d54e4cccec01f5cdef3ae298e7386b8 (patch) | |
tree | 17affc01548272abd32cc52e16a90c5a1a6442a5 /mm/filemap.c | |
parent | fs/read_write.c: fix generic_file_llseek() comment (diff) | |
download | kernel-qcow2-linux-e39862958d54e4cccec01f5cdef3ae298e7386b8.tar.gz kernel-qcow2-linux-e39862958d54e4cccec01f5cdef3ae298e7386b8.tar.xz kernel-qcow2-linux-e39862958d54e4cccec01f5cdef3ae298e7386b8.zip |
HWPOISON: check dirty flag to match against clean page
Currently page_action() does not check dirty flag to determine whether
the error page is "clean mlocked/unevictable LRU" page. This doesn't
cause any misjudgement because we do matching against "dirty
mlocked/unevictable LRU" just before the check. But in order to make
code consistent and/or to avoid potential regression, we had better
check dirty flag explicitly.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Suggested-by: Chen Gong <gong.chen@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions