From: "Jan Beulich" Subject: Re: [PATCH] Speed up superpage mapping, take 2 Date: Wed, 26 May 2010 08:36:04 +0100 Message-ID: <4BFCEB840200007800004055@vpn.id2.novell.com> References: <20100525143035.11080.89210.sendpatchset@magnum.int.mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100525143035.11080.89210.sendpatchset@magnum.int.mccr.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave McCracken Cc: Xen Developers List , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 25.05.10 at 16:30, Dave McCracken wrote: I didn't look in any great detail at other aspects of the patch, but this > --- xen-staging/xen/include/public/arch-x86/xen-x86_32.h 2010-05-18 = 09:45:54.000000000 -0500 > +++ xen-staging-fs//xen/include/public/arch-x86/xen-x86_32.h 2010-05-25 = 09:19:03.000000000 -0500 > @@ -64,9 +64,9 @@ > #define FLAT_USER_DS FLAT_RING3_DS > #define FLAT_USER_SS FLAT_RING3_SS > =20 > -#define __HYPERVISOR_VIRT_START_PAE 0xF5800000 > -#define __MACH2PHYS_VIRT_START_PAE 0xF5800000 > -#define __MACH2PHYS_VIRT_END_PAE 0xF6800000 > +#define __HYPERVISOR_VIRT_START_PAE 0xF5600000 > +#define __MACH2PHYS_VIRT_START_PAE 0xF5600000 > +#define __MACH2PHYS_VIRT_END_PAE 0xF6600000 > #define HYPERVISOR_VIRT_START_PAE \ > mk_unsigned_long(__HYPERVISOR_VIRT_START_PAE) > #define MACH2PHYS_VIRT_START_PAE \ is absolutely forbidden: You cannot lower the start address of the hypervisor address space hole - no kernel can be expected to be able to deal with that. I think you will need to make the feature 64-bit specific, unless you can find a 2Mb range within the existing hole (but I doubt there is any room left), or unless you map the table dynamically as needed for 32-bits. Jan