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

[Xen-changelog] init_boot_pages() should ignore sub-page regions.



ChangeSet 1.1458, 2005/05/19 09:06:04+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        init_boot_pages() should ignore sub-page regions.
        Signed-off-by: Matthew Chapman <matthewc@xxxxxx>
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 page_alloc.c |    2 ++
 1 files changed, 2 insertions(+)


diff -Nru a/xen/common/page_alloc.c b/xen/common/page_alloc.c
--- a/xen/common/page_alloc.c   2005-05-19 05:04:31 -04:00
+++ b/xen/common/page_alloc.c   2005-05-19 05:04:31 -04:00
@@ -156,6 +156,8 @@
 
     ps = round_pgup(ps);
     pe = round_pgdown(pe);
+    if ( pe <= ps )
+        return;
 
     map_free(ps >> PAGE_SHIFT, (pe - ps) >> PAGE_SHIFT);
 

_______________________________________________
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®.