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

[Xen-ia64-devel] [patch] don't allocate bitmap from low pool



Hi,

There is no reason to allocate this bitmap from the low pages pool
since all pages are identity mapped on ia64.

With this and the previous patch I posted, I can boot the dom0 kernel
directly on sn hardware.

Cheers,
Jes

# HG changeset patch
# User jes@xxxxxxxxxxxxxxxx
# Date 1166547207 -3600
# Node ID cc58c14826cd9e25be9653dbbe9ebb1b9f27579d
# Parent  9411fcd9abdeb59fa5a2b3c3f54e1d0432d616c4
No need to allocate contiguous_bitmap out of the low pages pool as all
pages are directly accessible on an ia64.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>

diff -r 9411fcd9abde -r cc58c14826cd 
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Tue Dec 19 17:48:52 
2006 +0100
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Tue Dec 19 17:53:27 
2006 +0100
@@ -60,7 +60,7 @@ contiguous_bitmap_init(unsigned long end
 contiguous_bitmap_init(unsigned long end_pfn)
 {
        unsigned long size = (end_pfn + 2 * BITS_PER_LONG) >> 3;
-       contiguous_bitmap = alloc_bootmem_low_pages(size);
+       contiguous_bitmap = alloc_bootmem_pages(size);
        BUG_ON(!contiguous_bitmap);
        memset(contiguous_bitmap, 0, size);
 }
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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