Re: [patch 1/4] mm: exclude reserved pages from dirtyable memory

2011-09-22 Thread Mel Gorman
On Thu, Sep 22, 2011 at 11:03:26AM +0200, Johannes Weiner wrote: > On Wed, Sep 21, 2011 at 04:03:28PM +0100, Mel Gorman wrote: > > On Wed, Sep 21, 2011 at 03:04:23PM +0100, Mel Gorman wrote: > > > On Tue, Sep 20, 2011 at 03:45:12PM +0200, Johannes Weiner wrote: > > > > The amount of dirtyable pages

Re: [patch 1/4] mm: exclude reserved pages from dirtyable memory

2011-09-22 Thread Johannes Weiner
On Wed, Sep 21, 2011 at 04:03:28PM +0100, Mel Gorman wrote: > On Wed, Sep 21, 2011 at 03:04:23PM +0100, Mel Gorman wrote: > > On Tue, Sep 20, 2011 at 03:45:12PM +0200, Johannes Weiner wrote: > > > The amount of dirtyable pages should not include the total number of > > > free pages: there is a numb

Re: [patch 1/4] mm: exclude reserved pages from dirtyable memory

2011-09-21 Thread Mel Gorman
On Wed, Sep 21, 2011 at 03:04:23PM +0100, Mel Gorman wrote: > On Tue, Sep 20, 2011 at 03:45:12PM +0200, Johannes Weiner wrote: > > The amount of dirtyable pages should not include the total number of > > free pages: there is a number of reserved pages that the page > > allocator and kswapd always t

Re: [patch 1/4] mm: exclude reserved pages from dirtyable memory

2011-09-21 Thread Mel Gorman
On Tue, Sep 20, 2011 at 03:45:12PM +0200, Johannes Weiner wrote: > The amount of dirtyable pages should not include the total number of > free pages: there is a number of reserved pages that the page > allocator and kswapd always try to keep free. > > The closer (reclaimable pages - dirty pages) i

Re: [patch 1/4] mm: exclude reserved pages from dirtyable memory

2011-09-20 Thread Rik van Riel
On 09/20/2011 09:45 AM, Johannes Weiner wrote: The amount of dirtyable pages should not include the total number of free pages: there is a number of reserved pages that the page allocator and kswapd always try to keep free. The closer (reclaimable pages - dirty pages) is to the number of reserve