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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu May 02 2002 - 11:44:15 EST


> > 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:14 EST