31 Jul 2012 16:43
[PATCH] Boot PV guests with more than 128GB (v2) for 3.7
Konrad Rzeszutek Wilk <konrad.wilk <at> oracle.com>
2012-07-31 14:43:18 GMT
2012-07-31 14:43:18 GMT
Changelog: Since v1: [http://lists.xen.org/archives/html/xen-devel/2012-07/msg01561.html] - added more comments, and #ifdefs - squashed The L4 and L4, L3, and L2 recycle patches together - Added Acked-by's The explanation of these patches is exactly what v1 had: The details of this problem are nicely explained in: [PATCH 4/6] xen/p2m: Add logic to revector a P2M tree to use __va [PATCH 5/6] xen/mmu: Copy and revector the P2M tree. [PATCH 6/6] xen/mmu: Remove from __ka space PMD entries for and the supporting patches are just nice optimizations. Pasting in what those patches mentioned: 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 : 0xffffffff81000000 -> 0xffffffff81e43000 (pfn 0x1000 + 0xe43 pages) xc_dom_pfn_to_ptr: domU mapping: pfn 0x1000+0xe43 at 0x7f097d8bf000 xc_dom_alloc_segment: ramdisk : 0xffffffff81e43000 -> 0xffffffff925c7000 (pfn 0x1e43 + 0x10784 pages) xc_dom_pfn_to_ptr: domU mapping: pfn 0x1e43+0x10784 at 0x7f0952dd2000 xc_dom_alloc_segment: phys2mach : 0xffffffff925c7000 -> 0xffffffffa25c7000 (pfn 0x125c7 + 0x10000 pages)(Continue reading)
RSS Feed