From: Ian Jackson Subject: Re: [PATCH v5 3/8] tools: arm: allocate large pages to guests. Date: Wed, 9 Jul 2014 16:19:53 +0100 Message-ID: <21437.23961.38356.523219@mariner.uk.xensource.com> References: <1404907608.16789.18.camel@kazak.uk.xensource.com> <1404907666-8594-3-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404907666-8594-3-git-send-email-ian.campbell@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: Ian Campbell Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH v5 3/8] tools: arm: allocate large pages to guests."): > Tries to allocate as many large (1G or 2M) pages as it can to the guest and tries > to align to the next larger size on each attempt so that we can attempt to > allocate even larger pages on the next iteration (this is currently only > exercised via a compile time debug option, which is left in place under a #if > 0). > > Since ARM page tables are consistent at each level there is a common helper > function which tries to allocate a levels worth of pages. The exception to this > consistency is level 0 which does not support table mappings (0.5TB > superpages!). > > Signed-off-by: Ian Campbell > Acked-by: Julien Grall > Cc: Ian Jackson Acked-by: Ian Jackson