From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761901AbYEHX10 (ORCPT ); Thu, 8 May 2008 19:27:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752664AbYEHX1R (ORCPT ); Thu, 8 May 2008 19:27:17 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:36189 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752199AbYEHX1Q (ORCPT ); Thu, 8 May 2008 19:27:16 -0400 Date: Fri, 9 May 2008 00:16:47 +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: <20080509001647.244393bc@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> 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 > In fact, I thought we had fixed most of this already, but hey, I was > clearly wrong. I assume Alan looks at it occasionally and groans. Alan? I have pushed it down to n_tty line discipline code but not within that. It is on the hit list but I'm working on more pressing stuff first (USB layer, extracting commonality to start to tackle open etc etc) I don't think fixing n_tty is now a big job if someone wants to take a swing at it. The driver write/throttle/etc routines below the n_tty ldisc layer are now BKL clean so it should just be the internal locking of the buffers, window and the like to tackle. Feel free to have a go 8)