mm, vmscan: Avoid passing in classzone_idx unnecessarily to compaction_ready
Hillf Danton
Acked-byQuoted 8 lines
The
scan_controlstructure has enough information available forcompaction_ready()to make a decision. Theclasszone_idxmanipulations inshrink_zones()are no longer necessary as the highest populated zone is no longer used to determine ifshrink_slabshould be called or not.Signed-off-by Mel Gorman <[email protected]>---
Acked-by Hillf Danton <[email protected]>
Quoted 3 lines
mm/vmscan.c | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>