Re: devfs: BKL *not* taken while opening devices

Alan Cox
2002-05-02T16:25:59Z

> > The BKL doesn't make a driver safe, remember that it's released on
> > schedule.
>
> I know. But a LOT of in kernel and out-of kernel drives don't schedule
> in open and are therefore safe right now

I looked at this for video4linux and for watchdog drivers. The score was
something like 80% buggy 20% correct. Remember things like request_irq
can schedule.

Fix the drivers, even if they get fixed before the lock is removed