Re: Deadlock on the mm->mmap_sem

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Sep 19 2001 - 18:46:48 EST


On Thu, Sep 20, 2001 at 01:34:21AM +0200, Andrea Arcangeli wrote:
> On Thu, Sep 20, 2001 at 12:25:40AM +0100, David Howells wrote:
> >
> > Andrea Arcangeli <andrea@suse.de> 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

hey no! It was a very unfair comparison! my rwsem are non inlined, yours
are.

Andrea
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:34 EST