From: Ian Campbell Subject: [PATCH 0/6] xen: arm: Use super pages in p2m Date: Tue, 10 Jun 2014 10:55:27 +0100 Message-ID: <1402394127.29980.52.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Julien Grall , Stefano Stabellini , Tim Deegan List-Id: xen-devel@lists.xenproject.org The following series adds support for superpage mappings (1G and 2M) in the p2m for dom0 and domU. At the moment it is not possible to allocate 1G regions to guests, because this is gated on multipage_allocation_permitted() which currently (incorrectly) returns false for dom0 on ARM. This is fixed by Arianna's "arch/arm: domain build: let dom0 access I/O memory of mapped devices" (which initialises iomem_caps for dom0). On a 32-bit platform this causes the overhead of kernbench vs. native to drop from 8-9% to 1.5-3% (it's basically the same for both dom0 and domU). I couldn't get my 64-bit platform to boot natively for some reason but in absolute terms kernbench improved by ~5% (domU) to ~15% (dom0). Ian.