Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-30 Thread Jan Beulich
>>> On 27.07.12 at 19:34, Konrad Rzeszutek Wilk wrote: > On Fri, Jul 27, 2012 at 12:47:47PM +0100, Jan Beulich wrote: >> >>> On 27.07.12 at 13:18, Stefano Stabellini >> >>> > wrote: >> > On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: >> >> 1) All P2M lookups instead of using the __ka addres

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:47:47PM +0100, Jan Beulich wrote: > >>> On 27.07.12 at 13:18, Stefano Stabellini > >>> wrote: > > On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > >> 1) All P2M lookups instead of using the __ka address would > >> use the __va address. This means we can safely e

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Jan Beulich
>>> On 27.07.12 at 13:18, Stefano Stabellini >>> wrote: > On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: >> 1) All P2M lookups instead of using the __ka address would >> use the __va address. This means we can safely erase from >> __ka space the PMD pointers that point to the PFNs for

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > During bootup Xen supplies us with a P2M array. It sticks > it right after the ramdisk, as can be seen with a 128GB PV guest: > > (certain parts removed for clarity): > xc_dom_build_image: called > xc_dom_alloc_segment: kernel : 0xfff

[PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-26 Thread Konrad Rzeszutek Wilk
During bootup Xen supplies us with a P2M array. It sticks it right after the ramdisk, as can be seen with a 128GB PV guest: (certain parts removed for clarity): xc_dom_build_image: called xc_dom_alloc_segment: kernel : 0x8100 -> 0x81e43000 (pfn 0x1000 + 0xe43 pages) x