Re: mmap(2)ping of pci_alloc_consistent() allocated buffers on 2.4 kernels question/help

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

 



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 [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]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux