Thread (28 messages) 28 messages, 5 authors, 2011-03-11

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

From: KAMEZAWA Hiroyuki <hidden>
Date: 2011-02-28 02:35:12
Also in: lkml

On Fri, 25 Feb 2011 13:35:54 -0800
Greg Thelen [off-list ref] 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 <redacted>
Reviewd-by: KAMEZAWA Hiroyuki [off-list ref]

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help