Skip to contentSkip to conversation

mm, vmscan: Avoid passing in classzone_idx unnecessarily to compaction_ready

PATCH Hillf Danton 1 participant 1 message Jul 5, 2016 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Hillf Danton

author Acked-by
#1 lore raw
Quoted 8 lines

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.

---

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>