HWPOISON: remove the anonymous entry
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 16 Dec 2009 11:19:57 +0000 (12:19 +0100)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Dec 2009 11:19:57 +0000 (12:19 +0100)
(PG_swapbacked && !PG_lru) pages should not happen.
Better to treat them as unknown pages.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c

index 38fcbb22eab97ada6d1db10f8bead4e5b9bc4043..745f61082ce5a3a3a11adb227d030e34935fdd0e 100644 (file)
@@ -609,7 +609,6 @@ static struct page_state {
 
        { lru|dirty,    lru|dirty,      "LRU",          me_pagecache_dirty },
        { lru|dirty,    lru,            "clean LRU",    me_pagecache_clean },
-       { swapbacked,   swapbacked,     "anonymous",    me_pagecache_clean },
 
        /*
         * Catchall entry: must be at end.