Hi,
I take back what I just said about replacing BKL with spinlock.
The device specific open() method has to be called with the lock held.
It must not sleep before some internal usage counter is bumped.
Replacing the BKL with a spinlock would mean changing all v4l drivers as
their open() methods may sleep.
It is true that I introduced the BKL into v4l-open into 2.4.0-final to fix a
reentrancy race, but mediadev.c has recently been changed to extend the code
under BKL.
I would appreciate if you left that piece of code alone. You can cause only
very little benefit and risk to introduce a deadlock or reintroduce races.
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel