aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/lock.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add WITNESS_FILE() and WITNESS_LINE(), which allow users of witnessIan Dowse2002-08-261-0/+10
* Parenthesise macro arguments to reduce lint warnings.Mark Murray2002-04-211-2/+2
* Add a new mtx_init option "MTX_DUPOK" which allows duplicate acquires of locksJeff Roberson2002-03-271-0/+1
* Change the preemption code for software interrupt thread schedules andJohn Baldwin2002-01-051-1/+0
* Don't concatenate __func__.Jake Burkholder2001-12-291-1/+1
* - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h.John Baldwin2001-10-191-1/+16
* Move the definition of LOCK_DEBUG from sys/lock.h to sys/_lock.h.John Baldwin2001-09-251-13/+0
* Use NULL instead of __FILE__ in the !LOCK_DEBUG case in the locking codeJohn Baldwin2001-09-171-0/+12
* If any of various debug kernel options are enabled, set a LOCK_DEBUGJohn Baldwin2001-09-171-0/+13
* KSE Milestone 2Julian Elischer2001-09-121-1/+1
* style(9) the structure definitions.David E. O'Brien2001-09-051-3/+3
* Whitespace nit.John Baldwin2001-08-231-1/+1