lkml.org 
[lkml]   [2009]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [4/31] HWPOISON: remove the anonymous entry
    Date

    From: Wu Fengguang <fengguang.wu@intel.com>

    (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 | 1 -
    1 file changed, 1 deletion(-)

    Index: linux/mm/memory-failure.c
    ===================================================================
    --- linux.orig/mm/memory-failure.c
    +++ linux/mm/memory-failure.c
    @@ -611,7 +611,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.

    \
     
     \ /
      Last update: 2009-12-08 22:19    [W:0.042 / U:61.532 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site