Messages in this thread | | | Date | Thu, 24 Sep 2015 16:05:04 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 02/10] mm, page_alloc: Remove unnecessary recalculations for dirty zone balancing |
| |
On Mon, Sep 21, 2015 at 11:52:34AM +0100, Mel Gorman wrote: > File-backed pages that will be immediately written are balanced between > zones. This heuristic tries to avoid having a single zone filled with > recently dirtied pages but the checks are unnecessarily expensive. Move > consider_zone_balanced into the alloc_context instead of checking bitmaps > multiple times. The patch also gives the parameter a more meaningful name. > > Signed-off-by: Mel Gorman <mgorman@techsingularity.net> > Acked-by: David Rientjes <rientjes@google.com> > Acked-by: Michal Hocko <mhocko@suse.com> > Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |