]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HWPOISON: check dirty flag to match against clean page
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Sun, 10 Mar 2013 10:54:41 +0000 (21:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:56:27 +0000 (14:56 +1100)
commit4735ef5eb1c88ff9d419c10e1311d4f393f0a083
tree9e74725a63a828b2fa9e9c65b5cfa441a9507a36
parent7de81dfd060513f3e573bc23e77e7c90ead282e7
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>
mm/memory-failure.c