User buffers and cache flushing.

Brad Parker brad at
Fri Mar 17 01:08:46 EST 2000

Marcus Sundberg wrote:
>The right thing to do is allocate memory in the driver and allow
>the user process to mmap() it.

years ago the linux BT848 pci video driver did this.  it allocated a
huge (like 1mb) buffer and the userland app would mmap it and could
then do things to the video frames in (almost) real time...  I'll bet
the current generation 'video for linux' code has examples of this...


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list