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

Skip to content
Commit c82ef9aa authored by Wang Han's avatar Wang Han Committed by Dyneteve
Browse files

mm: vmpressure: Account for unevictable pages in calculation



Unevictable pages are normally pinned into memory and actually
should be taken into account when calculating vmpressure window,
especially when we tend to pin more dex files with Oreo.

Add unevictable pages into the formula to calculate vmpressure
to let it output the correct result. This is similar with the
patches in lowmemorykiller.

Signed-off-by: default avatarWang Han <416810799@qq.com>
parent 78c88863
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