From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 19 Sep 2001 19:35:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 19 Sep 2001 19:35:24 -0400 Received: from [195.223.140.107] ([195.223.140.107]:20465 "EHLO athlon.random") by vger.kernel.org with ESMTP id ; Wed, 19 Sep 2001 19:33:58 -0400 Date: Thu, 20 Sep 2001 01:34:21 +0200 From: Andrea Arcangeli To: David Howells Cc: Linus Torvalds , Manfred Spraul , Ulrich.Weigand@de.ibm.com, linux-kernel@vger.kernel.org Subject: Re: Deadlock on the mm->mmap_sem Message-ID: <20010920013421.D720@athlon.random> In-Reply-To: <7486.1000941940@warthog.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7486.1000941940@warthog.cambridge.redhat.com>; from dhowells@redhat.com on Thu, Sep 20, 2001 at 12:25:40AM +0100 X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 20, 2001 at 12:25:40AM +0100, David Howells wrote: > > Andrea Arcangeli wrote: > > On Wed, Sep 19, 2001 at 07:26:33PM +0100, David Howells wrote: > > > > if we go generic then I strongly recommend my version of the generic > > > > semaphores is _much_ faster (and cleaner) than this one > > > > > > Not so:-) Your patch, Andrea, grabs the spinlock far more than is necessary. > > > > then why your microbenchmarks says my version is much faster? > > They don't: ok, so I drop my objections, you must have changed something radical since the last time I benchmarked your generic rwsemaphores, I must have missed you did those changes, sorry, so I'll just drop my rwsem patch and I'll apply yours. Andrea