aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
Commit message (Expand)AuthorAgeFilesLines
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchJohn Baldwin2008-09-101-3/+3
* Use |= rather than += when aggregrating requests to wakeup the swapper.John Baldwin2008-08-221-2/+2
* If a thread that is swapped out is made runnable, then the setrunnable()John Baldwin2008-08-051-9/+16
* s/alredy/already/ in the comments and the log message.Konstantin Belousov2008-07-251-5/+5
* The "if" semantic is not needed, just fix this.Attilio Rao2008-05-251-1/+1
* Use a "rel" memory barrier for disowning the lock as it cames from anAttilio Rao2008-04-131-1/+1
* - Re-introduce WITNESS support for lockmgr. About the old implementationAttilio Rao2008-04-121-17/+78
* - Remove a stale comment.Attilio Rao2008-04-121-4/+2
* - Use a different encoding for lockmgr options: make them encoded byAttilio Rao2008-04-071-1/+1
* Optimize lockmgr in order to get rid of the pool mutex interlock, of theAttilio Rao2008-04-061-623/+805
* - Handle buffer lock waiters count directly in the buffer cache insteadAttilio Rao2008-03-011-18/+8
* Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it isAttilio Rao2008-02-251-5/+2
* - Introduce lockmgr_args() in the lockmgr space. This function performsAttilio Rao2008-02-151-24/+44
* - Add real assertions to lockmgr locking primitives.Attilio Rao2008-02-131-28/+117
* Conver all explicit instances to VOP_ISLOCKED(arg, NULL) intoAttilio Rao2008-02-081-2/+2
* td cannot be NULL in that place, so just axe out the check.Attilio Rao2008-02-061-1/+1
* Add WITNESS support to lockmgr locking primitive.Attilio Rao2008-02-061-11/+46
* Cleanup lockmgr interface and exported KPI:Attilio Rao2008-01-241-24/+7
* lockmgr() function will return successfully when trying to work underAttilio Rao2008-01-111-3/+6
* Fix a last second typo about recent lockmgr_disown() introduction.Attilio Rao2008-01-091-2/+2
* Remove explicit calling of lockmgr() with the NULL argument.Attilio Rao2008-01-081-23/+42
* Trimm out now unused option LK_EXCLUPGRADE from the lockmgr namespace.Attilio Rao2007-12-281-13/+0
* In order to avoid a huge class of deadlocks (in particular in interactionsAttilio Rao2007-12-271-1/+9
* Modify stack(9) stack_print() and stack_sbuf_print() routines to use newRobert Watson2007-12-011-1/+1
* transferlockers() is a very dangerous and hack-ish function as waitersAttilio Rao2007-11-241-28/+0
* Expand lock class with the "virtual" function lc_assert which will offerAttilio Rao2007-11-181-0/+9
* generally we are interested in what thread did something asJulian Elischer2007-11-141-1/+1
* Move lock_profile_object_{init,destroy}() into lock_{init,destroy}().John Baldwin2007-05-181-2/+1
* - Use lock_init/lock_destroy() to setup the lock_object inside of lockmgr.John Baldwin2007-03-301-7/+11
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-1/+1
* Handle the case when a thread is blocked on a lockmgr lock with LK_DRAINJohn Baldwin2007-03-211-3/+16
* Add two new function pointers 'lc_lock' and 'lc_unlock' to lock classes.John Baldwin2007-03-091-3/+19
* Use C99-style struct member initialization for lock classes.John Baldwin2007-03-091-3/+3
* general LOCK_PROFILING cleanupKip Macy2007-02-261-13/+16
* track lock class name in a way that doesn't break WITNESSKip Macy2006-11-131-7/+15
* show lock class in profiling output for default case where type is not specif...Kip Macy2006-11-121-0/+2
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profileKip Macy2006-11-111-5/+19
* If the buffer lock has waiters after the buffer has changed identity thenTor Egge2006-10-021-0/+15
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptJohn Baldwin2006-08-151-0/+28
* Add a 'show lockmgr' command that dumps the relevant details of a lockmgrJohn Baldwin2006-08-151-0/+32
* Remove duplicated #include.Pawel Jakub Dawidek2006-07-141-1/+0
* - Remove and unused include.Jeff Roberson2005-12-231-1/+0
* Include kdb.h so that kdb_active is declared regardless of KDB beingRobert Watson2005-10-021-0/+1
* In lockstatus(), don't lock and unlock the interlock when testing theRobert Watson2005-09-271-2/+8
* Print out a warning and a backtrace if we try to unlock a lockmgr thatSuleiman Souhlal2005-09-021-0/+7
* Add 'depth' argument to CTRSTACK() macro, which allows to reduce numberPawel Jakub Dawidek2005-08-291-1/+1
* - Fix a problem that slipped through review; the stack member of the lockmgrJeff Roberson2005-08-031-5/+8
* - Replace the series of DEBUG_LOCKS hacks which tried to save the vn_lockJeff Roberson2005-08-031-34/+15
* - Differentiate two UPGRADE panics so I have a better idea of what's goingJeff Roberson2005-04-121-1/+3
* - Remove dead code.Jeff Roberson2005-04-061-26/+2