]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HWPOISON: abort on failed unmap
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 16 Dec 2009 11:19:58 +0000 (12:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:20:17 +0000 (13:20 -0700)
commitd0cddca762a554fc1eb86d38df33cf20bba21243
tree581b2ddc84a1361d364c8e77ab681d04fc7a2219
parentb30604b9fd4b46527b7b8716534023941f4338a4
HWPOISON: abort on failed unmap

commit 1668bfd5be9d8a52536c4865000fbbe065a3613b upstream.

Don't try to isolate a still mapped page. Otherwise we will hit the
BUG_ON(page_mapped(page)) in __remove_from_page_cache().

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/memory-failure.c