Re: Probs with PCI bus master DMA to user space

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 20 Feb 2001 07:37:26 -0600 (CST)


On Tue, 20 Feb 2001, Norbert Roos wrote:
> > Allocate the buffers in the kernel and mmap() them into user space
>
> But the buffers are usually allocated with malloc() by any application
> which wants to use my driver.. otherwise my driver would have to offer a
> malloc-like function, but I can hardly force the application to use my
> own malloc function.

If you are writing the driver, sure you can.

Jeff

-
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/