summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_rwlock.c
Commit message (Expand)AuthorAgeFilesLines
* Handle lock recursion differenty by always checking against LO_RECURSABLEattilio2009-06-021-6/+6
* Remove extra cpu_spinwait() invocations. This should really only be usedjhb2009-05-291-8/+0
* Tweak a few comments on adaptive spinning.jhb2009-05-291-4/+10
* Add the OpenSolaris dtrace lockstat provider. The lockstat providersson2009-05-261-7/+90
* - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks.jeff2009-03-151-1/+5
* Remove even more unneeded variable assignments.ed2009-02-261-1/+0
* add RW_SYSINIT_FLAGS macro and rw_sysinit_flags initialization functionkmacy2008-12-081-0/+8
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchjhb2008-09-101-2/+2
* Various whitespace fixes.jhb2008-09-101-1/+0
* Improve a comment which, in the actual CVS stock, doesn't completelyattilio2008-05-271-2/+5
* - Add sysctls at debug.rwlock to control the behavior of the speculativejeff2008-04-041-3/+26
* Add rw_try_rlock() and rw_try_wlock() to rwlocks.attilio2008-04-011-0/+49
* - In rw_wunlock_hard prefer to wakeup writers if there are both readersjeff2008-02-071-4/+4
* Adaptive spinning in write path with readers and writer starvation avoidance.jeff2008-02-061-154/+170
* Remove a conditional that is always true.jhb2008-01-171-1/+1
* - Re-implement lock profiling in such a way that it no longer breaksjeff2007-12-151-24/+7
* Simplify the adaptive spinning algorithm in rwlock and mutex:attilio2007-11-261-112/+72
* Expand lock class with the "virtual" function lc_assert which will offerattilio2007-11-181-0/+9
* Remove a bogus KASSERT which will prevent rwlock to be acquiredattilio2007-11-141-3/+0
* generally we are interested in what thread did something asjulian2007-11-141-1/+1
* Fix some problems with lock profiling in rw locks:attilio2007-07-201-8/+28
* Introduce a new rwlocks initialization function: rw_init_flags.attilio2007-06-261-9/+85
* Commit 3/14 of sched_lock decomposition.jeff2007-06-041-26/+28
* Move lock_profile_object_{init,destroy}() into lock_{init,destroy}().jhb2007-05-181-2/+0
* Add destroyed cookie values for sx locks and rwlocks as well as extrajhb2007-05-081-1/+17
* - Drop memory barriers in rw_try_upgrade(). We don't need an 'acq' memoryjhb2007-03-301-4/+4
* - Simplify the #ifdef's for adaptive mutexes and rwlocks by conditionallyjhb2007-03-221-23/+29
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,jhb2007-03-211-72/+72
* Print readers count as unsigned in ddb 'show lock'.jhb2007-03-131-2/+2
* Fix a typo.jhb2007-03-121-1/+1
* Add two new function pointers 'lc_lock' and 'lc_unlock' to lock classes.jhb2007-03-091-0/+33
* Use C99-style struct member initialization for lock classes.jhb2007-03-091-3/+3
* Fix some nits in lock profiling for rwlocks:jhb2007-03-071-6/+9
* Further improvements to LOCK_PROFILING:kmacy2007-02-271-2/+2
* Add rw_wowned() interface to rwlock(9), allowing a kernel thread torwatson2007-02-261-0/+7
* general LOCK_PROFILING cleanupkmacy2007-02-261-11/+3
* track lock class name in a way that doesn't break WITNESSkmacy2006-11-131-1/+1
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profilekmacy2006-11-111-2/+20
* Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it isjhb2006-07-271-0/+4
* Implement rw_try_upgrade() and rw_downgrade(). rw_try_upgrade() makes ajhb2006-04-191-2/+133
* 'owner' is not used without SMP. Fix kernel build for such kernelwkoszek2006-04-181-0/+4
* Adaptively spin before blocking on the turnstile if an rwlock is writejhb2006-04-181-7/+88
* - Add a rw_wowner() macro that just returns the owner of a write lock andjhb2006-04-171-26/+38
* Fix another compile problem. If I find any more, this file is going in thescottl2006-02-011-1/+1
* Regroup order of operations to better reflect what was probably intended.scottl2006-01-301-3/+3
* Take a stab at making this compile when WITNESS is not defined. gcc can'tscottl2006-01-291-4/+4
* Unbreak on archs where %d doesn't print uintptr_t arithmetic.mlaier2006-01-291-1/+2
* Add a basic reader/writer lock implementation to the kernel. Thisjhb2006-01-271-0/+587
OpenPOWER on IntegriCloud