ANDROID: lowmemorykiller: account for unevictable pages
authorTim Murray <timmurray@google.com>
Fri, 2 Sep 2016 23:04:41 +0000 (16:04 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 25 May 2017 11:07:25 +0000 (16:37 +0530)
commite4dcebb12e9be15c69b5977a36466dccd11f4f87
tree80fc6451e9cfa9ab5e2c4d3e9b3f5fa20002663a
parent4966fb00ef5226cee28c0fb768fed7f5707be158
ANDROID: 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
Signed-off-by: Tim Murray <timmurray@google.com>
drivers/staging/android/lowmemorykiller.c