Re: Deadlock on the mm->mmap_sem

Andrea Arcangeli
2001-09-19T23:35:39Z

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