Blue Swirl wrote: > On 4/19/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > > Well, the IOVector part and bdrv_readv look OK, except for the heavy > mallocing involved. >
I don't think that in practice, malloc is going to have any sort of performance impact. If it does, it's easy enough to implement a small object allocator for common, small vector sizes. > I'm not so sure about the DMA side and how everything fits together > for zero-copy IO. For example, do we still need explicit translation > at some point? I'm thinking that zero copy will be implemented by setting the map and unmap functions to NULL by default (instead of to the PCI read/write functions). Then the bus can decide whether copy functions are needed. I'll send an updated patch series tomorrow that includes this functionality. Regards, Anthony Liguori ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel