]> Git Repo - linux.git/commit
mm, vmscan: avoid passing in classzone_idx unnecessarily to compaction_ready
authorMel Gorman <[email protected]>
Thu, 28 Jul 2016 22:46:38 +0000 (15:46 -0700)
committerLinus Torvalds <[email protected]>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commit4f588331bdb9280c5e121a6e31132b8a7ad17957
tree0f6e13cb97d17fc75ef0dbcb89aec028d72ea6a3
parent970a39a36393228f99926ede1b01bc8f5882a0fd
mm, vmscan: avoid passing in classzone_idx unnecessarily to compaction_ready

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.

[[email protected] remove redundant check in shrink_zones()]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Hillf Danton <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.042781 seconds and 4 git commands to generate.