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
signature.asc
Description: PGP signature
