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

Skip to content
Commit f773ed97 authored by Patrick Daly's avatar Patrick Daly
Browse files

lowmemorykiller: Account for ZONE_MOVEABLE



The lowmemorykiller should kill userspace processes if the available free
memory for gfp_mask is below minfree.  For GFP_KERNEL, memory in
ZONE_MOVEABLE is not useable and should be discounted.

Since we are now considering a subset of total memory, adjust minfree
proportionally before comparing.

Change-Id: Ibdcf0a42f7f52688282766ea632002a715318c8b
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 952512e3
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