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

Commit 7e420a82 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by KakatkarAkshay
Browse files

mm: vmpressure: Interpret zero scanned pages as 100% pressure



When no pages are scanned, it usually means no zones were reclaimable
and nothing could be done. In this case, the reported pressure should be
100 to elicit help from any listeners. This fixes the vmpressure
framework not working when memory pressure is very high.

Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: default avatarDanny Lin <danny@kdrag0n.dev>
parent bf12dde5
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