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> _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"