Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89df0c8e authored by Liam Mark's avatar Liam Mark Committed by alexax66
Browse files

mm: vmscan: support complete shrinker reclaim



Ensure that shrinkers are given the option to completely drop
their caches even when their caches are smaller than the batch size.

This change helps improve memory headroom by ensuring that under
significant memory pressure shrinkers can drop all of their caches.

This change only attempts to more aggressively call the shrinkers
during background memory reclaim inorder to avoid hurting the
perforamnce of direct memory reclaim.

Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
Signed-off-by: default avatarDivya Sharma <c_shard@codeaurora.org>
Change-Id: I7dbc29c054add639e4810e36fd2c8a063e5c52f3
Signed-off-by: default avatarfranciscofranco <franciscofranco.1990@gmail.com>
parent acff8393
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment