Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753113AbbG1PXB (ORCPT ); Tue, 28 Jul 2015 11:23:01 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:22705 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191AbbG1PW7 (ORCPT ); Tue, 28 Jul 2015 11:22:59 -0400 Date: Tue, 28 Jul 2015 17:22:48 +0200 From: Daniel Kiper To: David Vrabel Cc: xen-devel@lists.xenproject.org, Konrad Rzeszutek Wilk , Boris Ostrovsky , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCHv2 05/10] xen/balloon: rationalize memory hotplug stats Message-ID: <20150728152248.GJ3492@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-Disposition: inline In-Reply-To: <1437738468-24110-6-git-send-email-david.vrabel@citrix.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 19 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/