summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
Commit message (Expand)AuthorAgeFilesLines
* Revert 210173 as it did not properly fix the bug. It assumed that theJohn Baldwin2010-08-201-0/+34
* Merge Makefile:1.320, stack.9:1.4, kern_lock.c:1.114, subr_stack.c:1.4,Robert Watson2008-04-101-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
* - Slightly restructure acquire() so I can add more ktr information andJeff Roberson2005-04-031-18/+14
* - Add a LK_NOSHARE flag which forces all shared lock requests to beJeff Roberson2005-03-311-1/+5
* - Remove apause(). It makes no sense with our present mutex implementationJeff Roberson2005-03-311-40/+0
* - Don't bump the count twice in the LK_DRAIN case.Jeff Roberson2005-03-281-2/+0
* - Restore COUNT() in all of its original glory. Don't make it dependentJeff Roberson2005-03-251-17/+19
* - Complete the implementation of td_locks. Track the number of outstandingJeff Roberson2005-03-241-0/+11
* - transferlockers() requires the interlock to be SMP safe.Jeff Roberson2005-03-151-2/+8
* - Include LK_INTERLOCK in LK_EXTFLG_MASK so that it makes its way intoJeff Roberson2005-01-251-1/+1
* - Do not use APAUSE if LK_INTERLOCK is set. We lose synchronizationJeff Roberson2005-01-241-10/+19
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* When upgrading the shared lock to an exclusive lock, if we discoverPaul Saab2004-11-291-3/+2
* Reintroduce slightly modified patch from kern/69964. Check forAlexander Kabaev2004-08-271-4/+11
* Temporarily back out r1.74 as it seems to cause a number of regressionsAlexander Kabaev2004-08-231-12/+5
* Upgrading a lock does not play well together with acquiring an exclusive lockAlexander Kabaev2004-08-161-5/+12
* Don't include a "\n" in KTR output, it confuses automatic parsing.Robert Watson2004-07-231-1/+1
* Move TDF_DEADLKTREAT into td_pflags (and rename it accordingly) to avoidTim J. Robbins2004-06-031-4/+2
* Add pid to the info printed in lockmgr_printinfo. This makes VFSAlexander Kabaev2004-01-061-2/+3
* Rearrange the SYSINIT order to call lockmgr_init() earlier so thatDon Lewis2003-07-161-27/+3
* Extend the mutex pool implementation to permit the creation and use ofDon Lewis2003-07-131-2/+2
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3
* Use the KTR_LOCK mask for logging events via KTR in lockmgr() ratherJohn Baldwin2003-03-111-4/+4
* Replace calls to WITNESS_SLEEP() and witness_list() with equivalent callsJohn Baldwin2003-03-041-1/+3
* - Add an interlock argument to BUF_LOCK and BUF_TIMELOCK.Jeff Roberson2003-02-251-8/+5
* - Add a WITNESS_SLEEP() for the appropriate cases in lockmgr().Jeff Roberson2003-02-161-0/+7
* The lockmanager has to keep track of locks per thread, not per process.Julian Elischer2003-02-051-19/+19