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

2012-11-19 Thread Johannes Weiner
On Mon, Nov 12, 2012 at 01:35:46PM -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: [PATCHv4] mm: Fix calculation of dirtyable memory

2012-11-19 Thread Johannes Weiner
On Mon, Nov 12, 2012 at 01:35:46PM -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

[PATCHv4] 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

[PATCHv4] 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