From: Naoya Horiguchi Date: Mon, 29 Apr 2013 22:06:08 +0000 (-0700) Subject: HWPOISON: check dirty flag to match against clean page X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~128^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39862958d54e4cccec01f5cdef3ae298e7386b8;p=pandora-kernel.git 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-diff-tree failed