From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753897AbXDUXhc (ORCPT ); Sat, 21 Apr 2007 19:37:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753875AbXDUXhb (ORCPT ); Sat, 21 Apr 2007 19:37:31 -0400 Received: from smtp1.linux-foundation.org ([65.172.181.25]:52571 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753897AbXDUXhV (ORCPT ); Sat, 21 Apr 2007 19:37:21 -0400 Date: Sat, 21 Apr 2007 16:35:33 -0700 (PDT) From: Linus Torvalds To: Ulrich Drepper cc: Kyle Moffett , William Lee Irwin III , Willy Tarreau , Ingo Molnar , Con Kolivas , linux-kernel@vger.kernel.org, Andrew Morton , Nick Piggin , Mike Galbraith , Arjan van de Ven , Peter Williams , Thomas Gleixner , caglar@pardus.org.tr, Gene Heskett Subject: Re: [REPORT] cfs-v4 vs sd-0.44 In-Reply-To: Message-ID: References: <20070420140457.GA14017@elte.hu> <20070421121235.GA2044@1wt.eu> <20070421154614.GA26169@elte.hu> <20070421161818.GC7840@1wt.eu> <20070421164241.GF2986@holomorphy.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 21 Apr 2007, Ulrich Drepper wrote: > > If you do this, and it has been requested many a times, then please > generalize it. We have the same issue with futexes. If a FUTEX_WAIT > call is issues the remaining time in the slot should be given to the > thread currently owning the futex. And how the hell do you imagine you'd even *know* what thread holds the futex? The whole point of the "f" part of the mutex is that it's fast, and we never see the non-contended case in the kernel. So we know who *blocks*, but we don't know who actually didn't block. Linus