From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756386AbYEKQsU (ORCPT ); Sun, 11 May 2008 12:48:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751245AbYEKQsM (ORCPT ); Sun, 11 May 2008 12:48:12 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:43736 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbYEKQsL (ORCPT ); Sun, 11 May 2008 12:48:11 -0400 Date: Sun, 11 May 2008 09:47:33 -0700 (PDT) From: Linus Torvalds To: Ingo Molnar cc: Matthew Wilcox , Sven Wegener , "Zhang, Yanmin" , Andi Kleen , LKML , Alexander Viro , Andrew Morton , Thomas Gleixner , "H. Peter Anvin" Subject: Re: [git pull] scheduler fixes In-Reply-To: <20080511143227.GA3220@elte.hu> Message-ID: References: <20080508122802.GA4880@elte.hu> <20080508144316.GA9869@elte.hu> <20080508151028.GA12109@elte.hu> <20080511110306.GP19219@parisc-linux.org> <20080511114803.GA8289@parisc-linux.org> <20080511125049.GA22513@elte.hu> <20080511125216.GA25040@elte.hu> <20080511130226.GR19219@parisc-linux.org> <20080511135414.GA2328@elte.hu> <20080511142222.GU19219@parisc-linux.org> <20080511143227.GA3220@elte.hu> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 11 May 2008, Ingo Molnar wrote: > > but the problem is that by serializing the wakeup chains naively you > introduced a more than 50% AIM7 performance regression. No, the problem is that the BKL shouldn't be a semaphore at all. Performance fixed. After that, it's *purely* a correctness issue, and then we might as well be fair and not allow the stealing of semaphores from under waiters at ALL. Which is what Matthews original code did. In other words, current -git is fine, and was already confirmed by Sven to fix the bug (before *any* of your patches were), and was earlier confirmed to fix the AIM7 performance regression (better than *any* of your patches were). So I fixed the problems last night already. Stop wasting everybody's time. Linus