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

[Xen-devel] xen/x86: Question about alloc_domheap_page in pod code



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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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