Messages in this thread | | | Date | Mon, 28 Feb 2011 11:28:46 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [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>
| |