[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn



# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxxx
# Node ID 19ef6202d75fa5fd7d514eecc52699aeacfd4a45
# Parent  bd5533956fb03a3c2b3a8d0b96ce64175fd3f6d4
PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn
ow of no PAE specific outstanding issues. Go find some :-)
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r bd5533956fb0 -r 19ef6202d75f xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Sat Aug 20 20:05:21 2005
+++ b/xen/arch/x86/domain_build.c       Sun Aug 21 00:10:30 2005
@@ -72,7 +72,7 @@
 static struct pfn_info *alloc_largest(struct domain *d, unsigned long max)
 {
     struct pfn_info *page;
-    unsigned int order = get_order(max * PAGE_SIZE);
+    unsigned int order = get_order(max)+PAGE_SHIFT-1;
     if ( (max & (max-1)) != 0 )
         order--;
     while ( (page = alloc_domheap_pages(d, order, 0)) == NULL )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.