Messages in this thread | | | Subject | Re: [PATCH] video4linux: Push down the BKL | From | (Jonathan Corbet) | Date | Fri, 23 May 2008 10:09:28 -0600 |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> The problem is that currently they are almost all unsafe - I did a quick > survey as part of the changes. Pushing it down to the video2_ioctl is a > starting point, but the v4l layer is going to need a lot of love and its > own gradual migration.
Agreed.
> Right now we've gone from BKL buried in fs to BKL at top of v4l layer > which is indeed only a starting point. I'd assumed the same as you are > think a new video_ioctl2 and switching drivers one by one (I was assuming > adding video2_ioctl_unlocked())
It sound like we're thinking the same way, yes. Except I'd pick the long name for the one we want to get rid of :)
BTW, drop me a pointer if you'd like this series pulled into the ever-growing bkl-removal tree.
jon
| |