Re: [PATCH 13/34] mm, vmscan: make shrink_node decisions more node-centric

From: Mel Gorman
Date: Wed Jul 13 2016 - 04:48:40 EST


On Tue, Jul 12, 2016 at 10:32:34AM -0400, Johannes Weiner wrote:
> On Fri, Jul 08, 2016 at 10:34:49AM +0100, Mel Gorman wrote:
> > Earlier patches focused on having direct reclaim and kswapd use data that
> > is node-centric for reclaiming but shrink_node() itself still uses too
> > much zone information. This patch removes unnecessary zone-based
> > information with the most important decision being whether to continue
> > reclaim or not. Some memcg APIs are adjusted as a result even though
> > memcg itself still uses some zone information.
> >
> > Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
> > Acked-by: Michal Hocko <mhocko@xxxxxxxx>
> > Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
>
> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
>
> Second half of the memcg conversion is in the next patch. Ok.

Yeah. I know it bumps the patch count but the combined patch is a headache
to read.

--
Mel Gorman
SUSE Labs