> > The scan_control structure has enough information available for > compaction_ready() to make a decision. The classzone_idx manipulations in > shrink_zones() are no longer necessary as the highest populated zone is > no longer used to determine if shrink_slab should be called or not. > > Signed-off-by: Mel Gorman <mgor...@techsingularity.net> > --- Acked-by: Hillf Danton <hillf...@alibaba-inc.com>
> mm/vmscan.c | 28 ++++++++-------------------- > 1 file changed, 8 insertions(+), 20 deletions(-) >