[PATCH 03/24] HWPOISON: remove the anonymous entry

From: Wu Fengguang
Date: Tue Dec 01 2009 - 23:42:11 EST


(PG_swapbacked && !PG_lru) pages are rediculous.
Better to treat them as unknown pages.

CC: Andi Kleen <andi@xxxxxxxxxxxxxx>
Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
---
mm/memory-failure.c | 1 -
1 file changed, 1 deletion(-)

--- linux-mm.orig/mm/memory-failure.c 2009-11-02 10:18:45.000000000 +0800
+++ linux-mm/mm/memory-failure.c 2009-11-02 10:26:17.000000000 +0800
@@ -589,7 +589,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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/