Re: [PATCH] mm: add MM_SWAPENTS and page table when calculate tasksize in lowmem_scan()

From: Greg Kroah-Hartman
Date: Tue Feb 16 2016 - 12:38:59 EST


On Tue, Feb 16, 2016 at 05:37:05PM +0800, Xishi Qiu wrote:
> Currently tasksize in lowmem_scan() only calculate rss, and not include swap.
> But usually smart phones enable zram, so swap space actually use ram.

Yes, but does that matter for this type of calculation? I need an ack
from the android team before I could ever take such a core change to
this code...

thanks,

greg k-h