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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site