lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 02/10] compaction: trivial clean up acct_isolated
    On Mon, May 30, 2011 at 03:13:41AM +0900, Minchan Kim wrote:
    > acct_isolated of compaction uses page_lru_base_type which returns only
    > base type of LRU list so it never returns LRU_ACTIVE_ANON or LRU_ACTIVE_FILE.
    > In addtion, cc->nr_[anon|file] is used in only acct_isolated so it doesn't have
    > fields in conpact_control.
    > This patch removes fields from compact_control and makes clear function of
    > acct_issolated which counts the number of anon|file pages isolated.
    >
    > Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    > Cc: Mel Gorman <mgorman@suse.de>
    > Cc: Rik van Riel <riel@redhat.com>
    > Cc: Andrea Arcangeli <aarcange@redhat.com>
    > Cc: Johannes Weiner <hannes@cmpxchg.org>
    > Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    > Signed-off-by: Minchan Kim <minchan.kim@gmail.com>

    Acked-by: Johannes Weiner <hannes@cmpxchg.org>


    \
     
     \ /
      Last update: 2011-05-31 14:15    [W:0.020 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site