Re: Possible race in cpia.c?

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



Okay, on a related note then...

I was intending to upload the microcode that makes my camera work in the open 
function.  This involves submitting several URBs.  If the kernel is locked 
during this time, is that a bad time to be submitting a half dozen control 
messages?  If so, when is a good time?

On Thursday 21 February 2002 03:06 am, Mark McClelland wrote:
> videodev.c holds the Big Kernel Lock while calling the drivers' open()
> callbacks. So, this race cannot happen.
>
> Note that with Gerd's V4L redesign, I'm fairly sure that this race *can*
> happen if the driver doesn't replace this check with
> video_exclusive_open(), or protect it with a semaphore. This is because
> the V4L layer doesn't have the open() wrapper function that it used to
> have.
>
> Gerd, can you make sure that your cpia patch fixes this?





[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