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

RE: [Xen-devel] Question regarding SLAB corruption



>From: Lukas Hejtmanek
>Sent: 2007年7月9日 15:38
>
>On Sun, Jul 08, 2007 at 11:11:58AM +0100, Keir Fraser wrote:
>> DomU sets up its own DMAs. The BARs do not come into it (except
>that they
>> will indicate where device registers are, and that's how the DMA is
>> programmed).
>
>One of maintainers of IB driver suggested a theory. What is the way that
>Xen
>allocates memory? Are there guarantees about allocation of physical
>contiguous
>memory? E.g., if I request alloc_pages(GPF_KERNEL, 6) - (256kB), are
>these
>pages physically contiguous? Or are these pages guest contiguous
>only?
>

Alloc_pages doesn't ensure you physically contiguous. But you can if 
turning to standard DMA allocation interface.

Thanks,
Kevin

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


 


Rackspace

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