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

From: Dave Hansen (haveblue@us.ibm.com)
Date: Mon Apr 29 2002 - 12:52:13 EST


Roman Zippel wrote:
> The BKL doesn't make a driver safe, remember that it's released on
> schedule.

Not safe, but _safer_, and definitely safe enough for almost all uses.
Some of the drivers rely on the fact that open() cannot be run
concurrently. The BKL does provide this if open never blocks.

-- 
Dave Hansen
haveblue@us.ibm.com

- 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 Apr 30 2002 - 22:00:18 EST