[lkml]   [2004]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: can device drivers return non-ram via vm_ops->nopage?
    On Sat, Mar 20, 2004 at 07:13:55PM -0800, Chris Wedgwood wrote:
    > > If a driver wants to map non-RAM pages, that's perfectly ok, but it
    > > MUST NOT happen through "nopage()". The driver should map them with
    > > "remap_page_range()", and thus never take a page fault for such
    > > pages at all.
    > This is what the fetchop driver does.

    Not sure how you get to fetchop here, but that driver does map ram pages
    so it should take pagefaults and not use remap_page_range().

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:01    [W:0.027 / U:32.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site