lkml.org 
[lkml]   [2008]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 03/13] dmaengine: up-level reference counting to the module level
    On Thu, Dec 4, 2008 at 12:28 PM, Guennadi Liakhovetski
    <g.liakhovetski@gmx.de> 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.


    \
     
     \ /
      Last update: 2008-12-08 23:41    [W:5.199 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site