Hi,

I was looking to the pod code (arch/x86/mm/p2m-pod.c) and noticed that
the calls to alloc_domheap_page{s,} seems to take wrong parameter:

page = alloc_domheap_pages(d, order, PAGE_ORDER_4K);

p = alloc_domheap_page(d, PAGE_ORDER_4K);

AFAICT the last parameter is the memory flags and not the order so using
PAGE_ORDER_4K is wrong. Am I right?

I don't know much x86, hence my question before sending a patch to fix it.

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to