Re: [PATCH] make dvb_ringbuffer compatible to dmxdev_buffer

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

 



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


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux