Date: Fri, 28 Jul 2000 14:48:26 +0100 (BST)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> > Audit all char and block drivers to ensure they are safe with the 2.3
> > locking - a lot of them are not especially on the open() path.
>
> What about the open() path? They have (or grab) BKL there, so it should
> not be something special. Now, read() and write()...
They dont all get open right either ;) And yes a lot get read/write wrong
or assume incorrectly that single opener == single threaded read/write.
Um, open's of char and block devices grab the BKL in fs/devices.c and
fs/block_dev.c. So I believe the open routines of the character and
block devices already have the BKL on entry. Am I missing something
here?
read/write SMP issues for device drivers is definitely an issue; I've
added it to the list.
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:27 EST