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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Feb 16 17:38:49 UTC 2016


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


More information about the devel mailing list