Messages in this thread |  | | | Date | Fri, 16 Sep 2005 23:46:32 +0200 | | From | Arjan van de Ven <> | | Subject | Re: 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/
|  |