svn commit: r313928 - head/sys/kern

Mateusz Guzik mjguzik at gmail.com
Sun Feb 19 10:30:31 UTC 2017


On Sun, Feb 19, 2017 at 09:30:44AM +0100, Michal Meloun wrote:
> 
> 
> On 18.02.2017 23:06, Mateusz Guzik wrote:
> > Author: mjg
> > Date: Sat Feb 18 22:06:03 2017
> > New Revision: 313928
> > URL: https://svnweb.freebsd.org/changeset/base/313928
> > 
> > Log:
> >   locks: clean up trylock primitives
> >   
> >   In particular thius reduces accesses of the lock itself.
> > 
> > Modified:
> >   head/sys/kern/kern_mutex.c
> >   head/sys/kern/kern_rwlock.c
> >   head/sys/kern/kern_sx.c
> > 
> 
> This commit broke (at least) sx_try_xlock_().
> 

Try this please https://people.freebsd.org/~mjg/patches/trylock.diff

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-all mailing list