[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")
    David Xiao wrote:
    > Another approach is working from a different direction: the kernel
    > allocates the non-cached buffer and then mmap() into user space. I have
    > done that in similar situation to try to achieve "zero-copy".

    open(O_DIRECT) does DMA to arbitrary pages allocated by userspace, and
    O_DIRECT is used by some important applications, so the problem still
    needs to be solved in general.

    -- Jamie

     \ /
      Last update: 2009-08-06 22:19    [W:0.018 / U:55.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site