]> 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>
Wed, 20 Mar 2013 04:07:03 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:28:22 +0000 (16:28 +1100)
commit3d40ad3b4156fc8184ee92135f079fae0c2a2aa6
tree2c3d4df5afe88566ef8c38b2895499e9816e0cc3
parent08278094c5952f431cde53244bc43cdb73cc244d
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