Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750926AbZLMG7O (ORCPT ); Sun, 13 Dec 2009 01:59:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750699AbZLMG7N (ORCPT ); Sun, 13 Dec 2009 01:59:13 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:60529 "HELO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750746AbZLMG7K (ORCPT ); Sun, 13 Dec 2009 01:59:10 -0500 Date: Sun, 13 Dec 2009 07:58:44 +0100 From: Ingo Molnar To: Linus Torvalds Cc: Thomas Gleixner , Alan Cox , Andrew Morton , Greg KH , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [GIT PATCH] TTY patches for 2.6.33-git Message-ID: <20091213065844.GA20244@elte.hu> References: <20091212084611.GA28266@elte.hu> <20091212013927.58d386d1.akpm@linux-foundation.org> <20091212101032.GB25286@elte.hu> <20091212023603.93768833.akpm@linux-foundation.org> <20091212214235.31429790@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 37 * Linus Torvalds 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 -- 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/