Re: [V4L] races in v4l read + write in 2.4

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



> I can see the problem, but I personally think that this should be
> handled by the driver itself.  If the driver can handle simultaneous
> (for example, separate even/odd fileds) reads, let it, otherwise let it
> serialise the operations itself.

In an ideal world or if the kernel version were 2.3.10, I'd agree.
I don't have time to go through all video drivers and I suspect neither
have you.

If they really want to they can drop the lock themselves.
Furthermore, if you really are out for performance and stupid enough
not to use mmap, you deserve what you get.

I would consider the patch a reasonable compromise.

	Regards
		Oliver





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux