lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bkl cleanup in do_sysctl
From
Date
    Lee> Someone once suggested that newbies who show up on LKML
Lee> wanting to learn kernel hacking should be assigned to find
Lee> one use of the BKL and replace it with proper locking.

Unfortunately most of the remaining BKL uses seem to be very subtle.
Removing lock_kernel() correctly requires a deep understanding of the
global locking semantics and may be very invasive. In the end it's
also hard to be sure bugs haven't been introduced.

Lee> For example reiserfs uses the BKL for all write locking (!),
Lee> but it probably would not be too hard to fix, because you can
Lee> just look at another filesystem that has proper locking.

Fixing up a filesystem's write locking doesn't sound like a very good
newbie project to me.

- R.
-
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/

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