aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVinayak Menon <vinayakm.list@gmail.com>2014-02-27 00:36:22 +0530
committerMister Oyster <oysterized@gmail.com>2017-09-18 19:19:24 +0200
commita12f5e8b83fe7f09b9abceb01811ac6180377f96 (patch)
treedad2452ccc0002dacf634d4455b84b495e3d767d /include
parentfdcfa35b71de9310356934bbca834c04c94dad62 (diff)
staging: android: lowmemorykiller: neglect swap cached pages in other_file
With ZRAM enabled it is observed that lowmemory killer doesn't trigger properly. swap cached pages are accounted in NR_FILE, and lowmemorykiller considers this as reclaimable and adds to other_file. But these pages can't be reclaimed unless lowmemorykiller triggers. So subtract swap pages from other_file. Signed-off-by: Vinayak Menon <vinayakm.list@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 058dbde928597e7a8bd04e28e77e5cfc4270591d) Change-Id: I217e831bbe1db830e6d61c7943e442a32a7548a1 Reverts some Mediatek customisation to lmk Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions