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:
Wang Han <416810799@qq.com>
Loading
Please register or sign in to comment