[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] direct_remap_area_pages() does not work for multiple pages?
> In DomU, I used alloc_pages() to allocate contiguous memory pages, > are they machine contiguous? If not, what's the right way to allocate > machine contiguous pages? or what's the right way to map > multiple pages > into Dom0? alloc_pages does not guarantee to return machine contiguous pages. As a hack, you could use dma_alloc_coherent. The correct approach is to find out all the mfns that are in use and do multiple direct_remap_area calls as appropriate. In user space, things are rather nicer as you can use the xc_map_foreign_batch. Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |