lkml.org 
[lkml]   [2011]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 3/9] writeback: convert variables to unsigned
    On Fri, 25 Feb 2011 13:35:54 -0800
    Greg Thelen <gthelen@google.com> wrote:

    > Convert two balance_dirty_pages() page counter variables (nr_reclaimable
    > and nr_writeback) from 'long' to 'unsigned long'.
    >
    > These two variables are used to store results from global_page_state().
    > global_page_state() returns unsigned long and carefully sums per-cpu
    > counters explicitly avoiding returning a negative value.
    >
    > Signed-off-by: Greg Thelen <gthelen@google.com>

    Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



    \
     
     \ /
      Last update: 2011-02-28 03:37    [W:0.023 / U:63.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site