lowmemorykiller: Account for unevictable pages

lowmemorykiller was not taking into account unevictable pages when
deciding what level to kill. If significant amounts of memory were
pinned, this caused lowmemorykiller to effectively stop at a much higher
level than it should.

BUG 31255977

Change-Id: I763ecbfef8c56d65bb8f6147ae810692bd81b6e2
(cherry picked from commit 91851d68006132c60fe0d05972892ea4fac704e4)
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
1 file changed