Re: [PATCH 03/13] dmaengine: up-level reference counting to the module level
From: Dan Williams <hidden>
Date: 2008-12-08 22:39:20
Also in:
lkml
From: Dan Williams <hidden>
Date: 2008-12-08 22:39:20
Also in:
lkml
On Thu, Dec 4, 2008 at 12:28 PM, Guennadi Liakhovetski [off-list ref] wrote:
Ok, but why not postpone calling .device_alloc_chan_resources() until a channel is _found_?
dma_find_channel() is called in fast paths (atomic contexts, I/O writeout), so we need to allocate ahead of time.