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

[Xen-ia64-devel] [PATCH] make xenLinux/ia64 privcmd mmap not to use dom0 memory.



make xenLinux/ia64 privcmd mmap not to use dom0 memory.
xenLinux/ia64 privcmd mmap uses pseudo physical address space.
it used alloc_pages() to allocate the space.
It wastes dom0 memory and sometimes several hundreds megabytes is
allocated depending on domU memory size.
With this patch xenLinux/ia64 tris to find the region which can be
used safely and uses the reasion. 


Alex.
xen_ia64_privcmd_init() tries to guess where pseudo physicall address
region can be used for the priv cmd mmap by heuristics.
Although I tested this patch on tiger2 and tiger4, I'm not sure
about other platforms.
Because your testing box has more complicated memory arrangement,
Could you confirm it?

Thanks.
-- 
yamahata

Attachment: 10049:0502e796a0e8_privcmd_mmap_pseud_physical_addr.patch
Description: Text document

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

 


Rackspace

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