Re: [PATCH 10 of 20] ipath - support for userspace apps using core driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux