From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762903AbYEHXhS (ORCPT ); Thu, 8 May 2008 19:37:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754425AbYEHXhE (ORCPT ); Thu, 8 May 2008 19:37:04 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:46119 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754192AbYEHXhB (ORCPT ); Thu, 8 May 2008 19:37:01 -0400 Date: Fri, 9 May 2008 00:27:07 +0100 From: Alan Cox To: Linus Torvalds Cc: Ingo Molnar , "Zhang, Yanmin" , Andi Kleen , Matthew Wilcox , LKML , Alexander Viro , Andrew Morton , Thomas Gleixner , "H. Peter Anvin" Subject: Re: [patch] speed up / fix the new generic semaphore code (fix AIM7 40% regression with 2.6.26-rc1) Message-ID: <20080509002707.67f79d3b@core> In-Reply-To: References: <1210214696.3453.87.camel@ymzhang> <1210219729.3453.97.camel@ymzhang> <20080508120130.GA2860@elte.hu> <20080508122802.GA4880@elte.hu> <20080508201956.GA2547@elte.hu> <20080508214557.GA13311@elte.hu> <20080509001647.244393bc@core> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 380 down <= lock_kernel <= tty_release <= __fput < > 422 down <= lock_kernel <= chrdev_open <= __dentry_open < > > rather than the write routines. But it may be that Ingo was just profiling > two different sections, and it's really all of them. tty release is probably a few months away from getting cured - I'm afraid it will almost certainly be the very last user of the BKL in tty to get fixed as it depends on everything else being sanely locked.