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

RE: [Xen-devel] Re: [Xen-users] rebased openSUSE Xen dom0 Patches



>>> "Simon Graham"  04/20/10 6:08 PM >>>
>We now think we've found the problem which seems to be due to the
>following two calls in Linux within mark_rodata_ro():
>
>free_init_pages("unused kernel memory",
>(unsigned long)
>page_address(virt_to_page(text_end)),
>(unsigned long)
>page_address(virt_to_page(rodata_start)));
>free_init_pages("unused kernel memory",
>(unsigned long)
>page_address(virt_to_page(rodata_end)),
>(unsigned long)
>page_address(virt_to_page(data_start)));

This code is not present in 2.6.32.11, so your kernel source tree must have 
extra patches requiring proper Xen equivalents. In particular, our tree's 
version of that change has its Xen counterpart avoid the (pointless and perhaps 
wasteful) aligning to 2Mb boundaries in arch/x86/kernel/vmlinux.lds, thus 
yielding those two calls to free_init_pages() to be no-ops.

Jan


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


 


Rackspace

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