From: Vinayak Menon Date: Wed, 26 Feb 2014 19:06:22 +0000 (+0530) Subject: staging: android: lowmemorykiller: neglect swap cached pages in other_file X-Git-Tag: v3.15-rc1~139^2~823 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058dbde928597e7a8bd04e28e77e5cfc4270591d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed