WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] PAE fix to allow dom0 to be >4GB. PAE has made huge prog

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Aug 2005 00:10:16 +0000
Delivery-date: Sun, 21 Aug 2005 00:10:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn, Xen patchbot -unstable <=