Skip to contentSkip to conversation

rebased openSUSE Xen dom0 Patches

Xen-users Jan Beulich 1 participant 1 message Apr 21, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines
Quoted 1 line
Quoted 1 line

"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():

Quoted 10 lines

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