lkml.org 
[lkml]   [2006]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 10 of 20] ipath - support for userspace apps using core driver
    From
    Date
        Nick> But it doesn't look like dma_alloc_coherent is guaranteed to
    Nick> return memory allocated from the regular page allocator, nor
    Nick> even memory backed by a struct page.

    Nick> For example, I see one that returns kmalloc()ed memory. If
    Nick> the pages for the slab are already allocated then __GFP_COMP
    Nick> will not do anything there. i386 looks like it has a path
    Nick> that uses ioremap...

    Ugh. So is there a correct way to map DMA-able memory into userspace?

    - R.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-17 02:11    [W:0.020 / U:121.756 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site