lkml.org 
[lkml]   [2005]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: mmap(2)ping of pci_alloc_consistent() allocated buffers on 2.4 kernels question/help

    On Fri, Sep 16, 2005 at 11:24:08PM +0200, Martin Drab wrote:
    >
    > And would that help anyhow?

    yes it would

    > (obtained via the RT FIFO) that he wants to mmap, the ioctl mmaps it to
    > the app., app. uses the data, and then calls another ioctl to unmap the
    > buffer and release it for next filling.

    don't use ioctls for this; the driver can just provide an mmap method and
    you can map this pci alloc'd ram straight into the userspace app...

    -
    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-09-16 23:50    [W:0.029 / U:122.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site