lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PATCH] TTY patches for 2.6.33-git

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> We've had quite a bit of BKL work this merge-window. Maybe we'll even get
> rid of it one of these days. There are "only" about 600 instances of
> "lock_kernel()" in the tree right now ;)

I tend to use unlock_kernel() as the metric. (as it's more precisely greppable
and it is also more indicative of the underlying complexity of locking, as it
gets used more in more complex scenarios)

In the last ~4.5 years:

earth4:~/tip> git checkout v2.6.12
Date: Fri Jun 17 12:48:29 2005 -0700
earth4:~/tip> git grep -w unlock_kernel | wc -l
713

earth4:~/tip> git checkout linus
Date: Fri Dec 11 20:58:20 2009 -0800
earth4:~/tip> git grep -w unlock_kernel | wc -l
841

we grew the (absolute) number of BKL sites by ~15%. Certainly the kernel grew
at a much faster rate, so the relative proportion of the BKL shrunk.

Also, a lot of BKL use was hidden before, and due to the BKL removal
activities (by Thomas, Frederic, Jon, Alan and others) the remaining BKL using
sites are a lot more well defined, a lot more isolated and thus a lot more
removable than ever before.

Ingo


\
 
 \ /
  Last update: 2009-12-13 08:01    [W:0.162 / U:3.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site