Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 12:06:45 -0400
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Maxime Henrion <mux@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_map.c vm_map.h
Message-ID:  <20040730160645.GB33220@green.homeunix.org>
In-Reply-To: <200407300910.i6U9ASg5077534@repoman.freebsd.org>
References:  <200407300910.i6U9ASg5077534@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 30, 2004 at 09:10:28AM +0000, Maxime Henrion wrote:
> mux         2004-07-30 09:10:28 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_map.c vm_map.h 
>   Log:
>   Get rid of another lockmgr(9) consumer by using sx locks for the user
>   maps.  We always acquire the sx lock exclusively here, but we can't
>   use a mutex because we want to be able to sleep while holding the
>   lock.  This is completely equivalent to what we were doing with the
>   lockmgr(9) locks before.

Not that I don't think it's worth doing in general, but is there a
comparison anyone has done between speeds of sx and lockmgr?

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040730160645.GB33220>