Messages in this thread | | | From | "Hillf Danton" <> | Subject | Re: [PATCH 24/31] mm, vmscan: Avoid passing in classzone_idx unnecessarily to compaction_ready | Date | Tue, 05 Jul 2016 15:10:08 +0800 |
| |
> > 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 <mgorman@techsingularity.net> > --- Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
> mm/vmscan.c | 28 ++++++++-------------------- > 1 file changed, 8 insertions(+), 20 deletions(-) >
| |