aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/lock.h
Commit message (Expand)AuthorAgeFilesLines
* locks: take the number of readers into account when waitingMateusz Guzik2017-10-051-0/+7
* Do not turn LOCK_DEBUG for INVARIANT_SUPPORT. This allows to addGleb Smirnoff2017-03-091-1/+1
* locks: fix compilation with KTR wihout KTR_LOCKSMateusz Guzik2017-03-011-1/+2
* mtx: plug the 'opts' argument when not usedMateusz Guzik2017-02-181-0/+5
* locks: change backoff to exponentialMateusz Guzik2017-02-071-5/+9
* Implement trivial backoff for locking primitives.Mateusz Guzik2016-08-011-0/+24
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-0/+1
* fix spelling of lock_initialized.. jhb approved..John-Mark Gurney2014-01-281-1/+1
* Right now LOCK_DEBUG is enabled if KTR is on.Attilio Rao2013-12-021-1/+2
* Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. WithDavide Italiano2013-09-201-7/+8
* Several improvements to rmlock(9). Many of these are based on patchesJohn Baldwin2013-06-251-0/+1
* Add option WITNESS_NO_VNODE to suppress printing LORs between VNODEMarcel Moolenaar2013-05-091-0/+1
* Remove unused/obsolete macros.Attilio Rao2012-11-131-11/+0
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-4/+4
* Protect BSDI $Id from accidental manipulation.David E. O'Brien2010-09-101-1/+1
* Right now, WITNESS just blindly pipes all the output to theAttilio Rao2010-05-111-2/+4
* Fix style for witness functions prototypes.Attilio Rao2010-05-111-2/+2
* Add the address of the lock to the KTR_LOCK trace.Konstantin Belousov2009-08-141-4/+4
* In non-debugging mode make this define (void)0 instead of nothing. ThisRoman Divacky2009-06-211-13/+13
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-0/+1
* Add functions WITNESS so it can be asserted that the lock is not released for aAndrew Thompson2009-01-211-0/+10
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchJohn Baldwin2008-09-101-6/+7
* Introduce some WITNESS improvements:Attilio Rao2008-08-131-0/+1
* - Embed the recursion counter for any locking primitive directly in theAttilio Rao2008-05-151-5/+4
* struct lock_instance and struct lock_list_entry don't need to be in theAttilio Rao2008-04-131-34/+1
* - Add real assertions to lockmgr locking primitives.Attilio Rao2008-02-131-0/+1
* Expand lock class with the "virtual" function lc_assert which will offerAttilio Rao2007-11-181-0/+1
* Initial checkin for rmlock (read mostly lock) a multi reader single writerStephan Uphoff2007-11-081-0/+1
* Remove unneccessary LO_CONTESTED flagKip Macy2007-04-031-1/+0
* Make use of 'lock_object' being the same field name in the witness_check*()John Baldwin2007-03-211-8/+4
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-3/+3
* Add two new function pointers 'lc_lock' and 'lc_unlock' to lock classes.John Baldwin2007-03-091-0/+9
* Further improvements to LOCK_PROFILING:Kip Macy2007-02-271-0/+1
* Style; remove argument names from prototype, be consistent withBruce M Simpson2007-02-031-3/+3
* track lock class name in a way that doesn't break WITNESSKip Macy2006-11-131-0/+1
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profileKip Macy2006-11-111-1/+2
* Update comments to indicate that locks are held by threads, not processes.John Baldwin2006-04-171-3/+3
* Add a basic reader/writer lock implementation to the kernel. ThisJohn Baldwin2006-01-271-0/+1
* Add a new macro wrapper WITNESS_CHECK() around the witness_warn() function.John Baldwin2006-01-271-0/+4
* Add a new file (kern/subr_lock.c) for holding code related to structJohn Baldwin2006-01-171-6/+8
* Trim another pointer from struct lock_object (and thus from struct mtx andJohn Baldwin2006-01-061-3/+19
* Add a new 'show lock' command to ddb. If the argument has a valid lockJohn Baldwin2005-12-131-0/+1
* Tweak witness handling of lock object to shave 2 pointers off of eachJohn Baldwin2005-12-051-0/+1
* - Define LOP_DUPOK in lock.h so that we may pass it to individualJeff Roberson2005-04-221-0/+1
* Divorce critical sections from spinlocks. Critical sections as denoted byJohn Baldwin2005-04-041-0/+2
* Rework witness_lock() to make it slightly more useful and flexible.John Baldwin2004-01-281-0/+27
* when MUTEX_PROFILING is enabled turn on LOCK_DEBUG; otherwise all the mutex'sSam Leffler2003-09-191-1/+1
* Add a new function to look for a spinlock's instance when it is held byJohn Baldwin2003-07-311-0/+1
* A small overhaul of witness:John Baldwin2003-03-041-7/+11
* Forward declare struct thread so that this header doesn't depend on itsBruce Evans2002-08-281-6/+2