From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755632AbcBPRi4 (ORCPT ); Tue, 16 Feb 2016 12:38:56 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:48397 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754993AbcBPRix (ORCPT ); Tue, 16 Feb 2016 12:38:53 -0500 Date: Tue, 16 Feb 2016 09:38:49 -0800 From: Greg Kroah-Hartman To: Xishi Qiu Cc: arve@android.com, riandrews@android.com, devel@driverdev.osuosl.org, zhong jiang , LKML , Linux MM Subject: Re: [PATCH] mm: add MM_SWAPENTS and page table when calculate tasksize in lowmem_scan() Message-ID: <20160216173849.GA10487@kroah.com> References: <56C2EDC1.2090509@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56C2EDC1.2090509@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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