Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750754AbWC1PCo (ORCPT ); Tue, 28 Mar 2006 10:02:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750756AbWC1PCo (ORCPT ); Tue, 28 Mar 2006 10:02:44 -0500 Received: from zproxy.gmail.com ([64.233.162.204]:39790 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S1750754AbWC1PCn convert rfc822-to-8bit (ORCPT ); Tue, 28 Mar 2006 10:02:43 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OYWxDnNRt5rok87XhEfFskFYM4aHuF6hQ0uz/nwyVzBuz9dEW1vpfEkAY1AJ93Q42NmOeiI8RTkgn3nzSQ1CtHVluyQ9oyOZCQH0jhKfkOMWY/0StbDidxmoyrIzuPdA3aRbpumyOBnWdarMORXHjTgpmMPiZooFhAvKWLIehN8= Message-ID: Date: Tue, 28 Mar 2006 07:02:42 -0800 From: "Ulrich Drepper" To: "Pierre PEIFFER" Subject: Re: [PATCH] 2.6.16 - futex: small optimization (?) Cc: linux-kernel@vger.kernel.org, "Ingo Molnar" , jakub@redhat.com In-Reply-To: <4428E7B7.8040408@bull.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <4428E7B7.8040408@bull.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 13 On 3/27/06, Pierre PEIFFER wrote: > I found a (optimization ?) problem in the futexes, during a futex_wake, > if the waiter has a higher priority than the waker. There are no such situations anymore in an optimal userlevel implementation. The last problem (in pthread_cond_signal) was fixed by the addition of FUTEX_WAKE_OP. The userlevel code you're looking at is simply not optimized for the modern kernels. - 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/