lkml.org 
[lkml]   [2000]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4 status page, lightly updated
   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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.106 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site