Re: [PATCH 10 of 20] ipath - support for userspace apps using core driver
From: Roland Dreier
Date: Thu Mar 16 2006 - 20:06:35 EST
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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/