From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Kiper Subject: Re: [PATCHv2 05/10] xen/balloon: rationalize memory hotplug stats Date: Tue, 28 Jul 2015 17:22:48 +0200 Message-ID: <20150728152248.GJ3492__34793.5934704312$1438097066$gmane$org@olila.local.net-space.pl> References: <1437738468-24110-1-git-send-email-david.vrabel@citrix.com> <1437738468-24110-6-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZK6ia-0000KD-PS for xen-devel@lists.xenproject.org; Tue, 28 Jul 2015 15:23:00 +0000 Content-Disposition: inline In-Reply-To: <1437738468-24110-6-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: linux-mm@kvack.org, xen-devel@lists.xenproject.org, Boris Ostrovsky , linux-kernel@vger.kernel.org List-Id: xen-devel@lists.xenproject.org On Fri, Jul 24, 2015 at 12:47:43PM +0100, David Vrabel wrote: > The stats used for memory hotplug make no sense and are fiddled with > in odd ways. Remove them and introduce total_pages to track the total > number of pages (both populated and unpopulated) including those within > hotplugged regions (note that this includes not yet onlined pages). > > This will be used in the following commit when deciding whether > additional memory needs to be hotplugged. > > Signed-off-by: David Vrabel Reviewed-by: Daniel Kiper Daniel