lkml.org 
[lkml]   [2004]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: can device drivers return non-ram via vm_ops->nopage?
    * Benjamin Herrenschmidt <benh@kernel.crashing.org> [2004-03-22]:
    > DRI suffers from similar issue when using PCI GART, but then, it also
    > doesn't use the consistent alloc routines, it gets pages with GFP,
    > mmap those into userland, and does pci_map_single in the kernel on
    > each individual page to obtain the bus addresses. This will not be
    > pretty on non-coherent architectures though.

    ... or on platforms where PCI bounce-buffers are being used.

    --
    Richard \\\ SH-4/SH-5 Core & Debug Architect
    Curnow \\\ SuperH (UK) Ltd, Bristol
    -
    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: 2005-03-22 14:01    [W:3.417 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site