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@xxxxxxxxxxxxxxxxxxx> > Acked-by: David Rientjes <rientjes@xxxxxxxxxx> > Acked-by: Michal Hocko <mhocko@xxxxxxxx> > Acked-by: Vlastimil Babka <vbabka@xxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>