Re: [PATCH] mm: Fix calculation of dirtyable memory

2012-11-12 Thread Johannes Weiner
On Mon, Nov 12, 2012 at 11:35:28AM -0800, Sonny Rao wrote: > The system uses global_dirtyable_memory() to calculate > number of dirtyable pages/pages that can be allocated > to the page cache. A bug causes an underflow thus making > the page count look like a big unsigned number. This in turn >

[PATCH] mm: Fix calculation of dirtyable memory

2012-11-12 Thread Sonny Rao
The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number. This in turn confuses the dirty writeback throttling to aggressively write back

[PATCH] mm: Fix calculation of dirtyable memory

2012-11-12 Thread Sonny Rao
The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number. This in turn confuses the dirty writeback throttling to aggressively write back

Re: [PATCH] mm: Fix calculation of dirtyable memory

2012-11-12 Thread Johannes Weiner
On Mon, Nov 12, 2012 at 11:35:28AM -0800, Sonny Rao wrote: The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number. This in turn

Re: [PATCH] mm: Fix calculation of dirtyable memory

2012-11-08 Thread Andrew Morton
On Thu, 8 Nov 2012 15:25:35 -0800 Sonny Rao wrote: > The system uses global_dirtyable_memory() to calculate > number of dirtyable pages/pages that can be allocated > to the page cache. A bug causes an underflow thus making > the page count look like a big unsigned number. This in turn >

[PATCH] mm: Fix calculation of dirtyable memory

2012-11-08 Thread Sonny Rao
The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number. This in turn confuses the dirty writeback throttling to aggressively write back

[PATCH] mm: Fix calculation of dirtyable memory

2012-11-08 Thread Sonny Rao
The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number. This in turn confuses the dirty writeback throttling to aggressively write back

Re: [PATCH] mm: Fix calculation of dirtyable memory

2012-11-08 Thread Andrew Morton
On Thu, 8 Nov 2012 15:25:35 -0800 Sonny Rao sonny...@chromium.org wrote: The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page cache. A bug causes an underflow thus making the page count look like a big unsigned number.