Re: [patch v2 2/3] mm: page_alloc: rearrange watermark checking in get_page_from_freelist

2013-08-07 Thread Mel Gorman
On Fri, Aug 02, 2013 at 11:37:25AM -0400, Johannes Weiner wrote: > Allocations that do not have to respect the watermarks are rare > high-priority events. Reorder the code such that per-zone dirty > limits and future checks important only to regular page allocations > are ignored in these

Re: [patch v2 2/3] mm: page_alloc: rearrange watermark checking in get_page_from_freelist

2013-08-07 Thread Mel Gorman
On Fri, Aug 02, 2013 at 11:37:25AM -0400, Johannes Weiner wrote: Allocations that do not have to respect the watermarks are rare high-priority events. Reorder the code such that per-zone dirty limits and future checks important only to regular page allocations are ignored in these

[patch v2 2/3] mm: page_alloc: rearrange watermark checking in get_page_from_freelist

2013-08-02 Thread Johannes Weiner
Allocations that do not have to respect the watermarks are rare high-priority events. Reorder the code such that per-zone dirty limits and future checks important only to regular page allocations are ignored in these extraordinary situations. Signed-off-by: Johannes Weiner Reviewed-by: Rik van

[patch v2 2/3] mm: page_alloc: rearrange watermark checking in get_page_from_freelist

2013-08-02 Thread Johannes Weiner
Allocations that do not have to respect the watermarks are rare high-priority events. Reorder the code such that per-zone dirty limits and future checks important only to regular page allocations are ignored in these extraordinary situations. Signed-off-by: Johannes Weiner han...@cmpxchg.org