Re: [PATCH] staging: android: lowmemorykiller: neglect swap cached pages in other_file

From: Greg KH
Date: Wed Feb 26 2014 - 13:25:36 EST


On Wed, Feb 26, 2014 at 11:40:33PM +0530, vinayakm.list@xxxxxxxxx wrote:
> From: Vinayak Menon <vinayakm.list@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> drivers/staging/android/lowmemorykiller.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

You sent 2 patches, both different, which should I apply?

How about I delete both and wait for a proper "v3" that specifies
exactly what is going on here...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/