[linux-dvb] [PATCH] make dvb_ringbuffer compatible to
dmxdev_buffer
Andreas Oberritter
obi at linuxtv.org
Tue Mar 14 18:57:54 CET 2006
On Tue, 2006-03-14 at 13:46 +0100, Oliver Endriss wrote:
> It will break the av7110 driver.
OK, so I will send another patch to revert that part to Mauro.
> How could setting the buffer ptr to 0 increase performance?
> Usually it will save a single wrap of the buffer.
Yes, if the data starts at 0 that's one copy_to_user() vs. two when
reading the buffer. The start of the buffer is page aligned, and proper
alignment is IMHO required for fast copy operations.
Regards,
Andreas
More information about the linux-dvb
mailing list