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

Re: [Xen-devel] x86 swiotlb questions

On Fri, Dec 22, 2006 at 04:20:28PM +0000, Jan Beulich wrote:
> One more thing: Is it really necessary to restrict dma_alloc_coherent() to 
> dma_bits?
> I.e., couldn't we, once the bit-level page allocator is merged, use the real 
> bit width
> needed for the requesting device here? If not, this would then permit using 
> the

Yes I think that should work.  If the width is less than what the
hypervisor supports it'll simply fail which is better than returning
the wrong memory silently.

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Xen-devel mailing list



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