[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] Add prototype for __get_free_pages
Due to upgrading to 2.6.13, missing prototypes for several new memory allocate interfaces actually destroy the xenheap. The machine just MCA once xenU is created and executed in metaphysical mode. Missing prototype makes allocated address from __get_free_pages truncated to 32bit: d->arch.mm->pgd = pgd_alloc(d->arch.mm); In this case, 0xe0000000040f8000 is truncated to 0x40f8000 as the pgd base address. Later when Xen tries to access this table for querying guest physical -> machine mapping, page fault handler doesn't consider it as legal hypervisor address and something goes weird. Finally MCA happens. Signed-off-by Kevin Tian <Kevin.tian@xxxxxxxxx> Thanks, Kevin Attachment:
hg_0902_prototype _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |