Re: [RFC PATCH 0/2] dma-unmap: allow to only unmap completed DMA buffer

2013-05-27 Thread Alan Stern
On Tue, 28 May 2013, Ming Lei wrote: > This patchset tries to loose the check on DMA buffer size in check_unmap() > of dma-debug first, then only unmap the actual completed DMA buffer in USB > unmap path. > > Considered that DMA unmapping often runs in hard irq context, the patch set > may save i

[RFC PATCH 0/2] dma-unmap: allow to only unmap completed DMA buffer

2013-05-27 Thread Ming Lei
This patchset tries to loose the check on DMA buffer size in check_unmap() of dma-debug first, then only unmap the actual completed DMA buffer in USB unmap path. Considered that DMA unmapping often runs in hard irq context, the patch set may save irq handling time. And the improvement can be obser