svn commit: r326107 - in head/sys: kern sys
Mateusz Guzik
mjguzik at gmail.com
Thu Nov 23 03:41:39 UTC 2017
oops, fixed in r326107
On Thu, Nov 23, 2017 at 4:17 AM, Shawn Webb <shawn.webb at hardenedbsd.org>
wrote:
> On Wed, Nov 22, 2017 at 10:04:04PM +0000, Mateusz Guzik wrote:
> > Author: mjg
> > Date: Wed Nov 22 22:04:04 2017
> > New Revision: 326107
> > URL: https://svnweb.freebsd.org/changeset/base/326107
> >
> > Log:
> > locks: pass the found lock value to unlock slow path
> >
> > This avoids an explicit read later.
> >
> > While here whack the cheaply obtainable 'tid' argument.
> >
> > Modified:
> > head/sys/kern/kern_mutex.c
> > head/sys/kern/kern_rwlock.c
> > head/sys/kern/kern_sx.c
> > head/sys/sys/mutex.h
> > head/sys/sys/rwlock.h
> > head/sys/sys/sx.h
>
> This breaks ZFS:
> https://gist.github.com/lattera/93faa9c47ccc985ebda039ab31641c2c
>
> Thanks,
>
> --
> Shawn Webb
> Cofounder and Security Engineer
> HardenedBSD
>
> GPG Key ID: 0x6A84658F52456EEE
> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE
>
--
Mateusz Guzik <mjguzik gmail.com>
More information about the svn-src-all
mailing list