svn commit: r276424 - head/sys/kern

Mateusz Guzik mjguzik at gmail.com
Sun Jan 4 19:06:43 UTC 2015


On Tue, Dec 30, 2014 at 10:45:43PM +0000, Bjoern A. Zeeb wrote:
> 
> > On 30 Dec 2014, at 21:40 , Mateusz Guzik <mjg at FreeBSD.org> wrote:
> > 
> > Author: mjg
> > Date: Tue Dec 30 21:40:45 2014
> > New Revision: 276424
> > URL: https://svnweb.freebsd.org/changeset/base/276424
> > 
> > Log:
> >  Convert vfs hash lock from a mutex to an rwlock.
> 
> This is very obvious from the change.
> 
> What is not and should be described as well is some of this:
> 
> - Why?
> - What are the benefits?
> - What are the locking implications?
> - Does it make a performance difference?  If yes, was it measured?
> - …  (you got the idea)
> 

Sorry for late reply.

This is just one of many minor things which showed up in lock profiling
during make -j 40 buildkernel.

I don't expect the gain to be quite noticeable (at least not now since
there way more serious bottlenecks), thus there are no claims stuff is
way faster in the commit message.

This change is entirely transparent to callers and callees.

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-head mailing list