From e39862958d54e4cccec01f5cdef3ae298e7386b8 Mon Sep 17 00:00:00 2001 From: Naoya Horiguchi Date: Mon, 29 Apr 2013 15:06:08 -0700 Subject: [PATCH] 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 Suggested-by: Chen Gong Cc: Andi Kleen Cc: Tony Luck Cc: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed