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

From: KAMEZAWA Hiroyuki
Date: Sun Feb 27 2011 - 21:35:17 EST

On Fri, 25 Feb 2011 13:35:54 -0800
Greg Thelen <gthelen@xxxxxxxxxx> 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@xxxxxxxxxx>

Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at