Re: [PATCH] mm: page_alloc: Reset fair zone allocation policy only when batch counts are expired

2014-06-04 Thread Johannes Weiner
On Thu, May 29, 2014 at 06:16:08PM +0100, Mel Gorman wrote: > On Thu, May 29, 2014 at 10:38:32AM -0400, Johannes Weiner wrote: > > Hi Mel! > > > > On Thu, May 29, 2014 at 10:04:32AM +0100, Mel Gorman wrote: > > > The fair zone allocation policy round-robins allocations between zones on > > > a nod

Re: [PATCH] mm: page_alloc: Reset fair zone allocation policy only when batch counts are expired

2014-05-29 Thread Mel Gorman
On Thu, May 29, 2014 at 10:38:32AM -0400, Johannes Weiner wrote: > Hi Mel! > > On Thu, May 29, 2014 at 10:04:32AM +0100, Mel Gorman wrote: > > The fair zone allocation policy round-robins allocations between zones on > > a node to avoid age inversion problems during reclaim using a counter to > >

Re: [PATCH] mm: page_alloc: Reset fair zone allocation policy only when batch counts are expired

2014-05-29 Thread Johannes Weiner
Hi Mel! On Thu, May 29, 2014 at 10:04:32AM +0100, Mel Gorman wrote: > The fair zone allocation policy round-robins allocations between zones on > a node to avoid age inversion problems during reclaim using a counter to > manage the round-robin. If the first allocation fails, the batch counts get >

[PATCH] mm: page_alloc: Reset fair zone allocation policy only when batch counts are expired

2014-05-29 Thread Mel Gorman
The fair zone allocation policy round-robins allocations between zones on a node to avoid age inversion problems during reclaim using a counter to manage the round-robin. If the first allocation fails, the batch counts get reset and the allocation is attempted again before going into the slow path.