Re: Question on IOAT

2007-02-05 Thread Olaf Kirch
On Monday 05 February 2007 19:24, Chris Leech wrote: > It is busy waiting, but only because the TCP socket use initiates the > DMA copies from the softirq and they have time to complete during the > switch back to application context. But to me it looks as if the code in tcp_recvmsg will also init

Re: Question on IOAT

2007-02-05 Thread Chris Leech
On 2/5/07, Olaf Kirch <[EMAIL PROTECTED]> wrote: Nowhere in the dma_async_*complete functions can I see any code that would sleep if the DMA is not yet complete. Am I missing something, or are we really busy-waiting on the DMA engine? Wouldn't this kind of defeat the purpose of freeing up the CP

Question on IOAT

2007-02-05 Thread Olaf Kirch
Hi, I looked into the IOAT code today as I'm trying to find out how to add support for it to NFS. I ran into this piece of code, which waits for the DMA operation to complete: while (dma_async_memcpy_complete(tp->ucopy.dma_chan, tp