[PATCH v5 3/9] writeback: convert variables to unsigned

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Sun Feb 27 18:28:46 PST 2011

On Fri, 25 Feb 2011 13:35:54 -0800
Greg Thelen <gthelen at 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 at google.com>

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

More information about the Containers mailing list