summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* Fix some problems with lock_profiling in sx locks:attilio2007-07-061-22/+32
* Add functions sx_xlock_sig() and sx_slock_sig().attilio2007-05-311-26/+62
* style(9) fixes for sx locks.attilio2007-05-291-2/+2
* Add a small fix for lock profiling in sx locks.attilio2007-05-291-1/+1
* Rename the macros for assertion flags passed to sx_assert() from SX_* tojhb2007-05-191-19/+19
* Expose sx_xholder() as a public macro. It returns a pointer to the threadjhb2007-05-191-8/+0
* Oops, didn't include SX_ADAPTIVESPIN in the list of valid flags for thejhb2007-05-191-1/+1
* Add a new SX_RECURSE flag to make support for recursive exclusive locksjhb2007-05-191-2/+8
* Fix a comment.jhb2007-05-181-2/+2
* 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/+21
* fix typokmacy2007-04-041-1/+1
* style fixes and make sure that the lock is treated as released in the sharers...kmacy2007-04-041-4/+5
* Fixes to sx for newsx - fix recursed case and move out of inlinekmacy2007-04-031-8/+31
* Optimize sx locks to use simple atomic operations for the common cases ofjhb2007-03-311-230/+682
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,jhb2007-03-211-41/+41
* 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
* lock stats updates need to be protected by the lockkmacy2007-03-021-24/+3
* Evidently I've overestimated gcc's ability to peak inside inline functionskmacy2007-03-011-2/+8
* Further improvements to LOCK_PROFILING:kmacy2007-02-271-5/+20
* general LOCK_PROFILING cleanupkmacy2007-02-261-10/+6
* 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-1/+21
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptjhb2006-08-151-1/+54
* Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it isjhb2006-07-271-0/+6
* Add a new file (kern/subr_lock.c) for holding code related to structjhb2006-01-171-17/+4
* Trim another pointer from struct lock_object (and thus from struct mtx andjhb2006-01-061-2/+2
* Add a new 'show lock' command to ddb. If the argument has a valid lockjhb2005-12-131-1/+37
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
* Fix _sx_assert() to panic() rather than printf() when an assertion failsjhb2004-02-271-3/+5
* Simplify check. We are only able to check exclusive lock and ifpjd2004-02-191-1/+5
* Allow assert that the current thread does not hold the sx(9) lock.pjd2004-02-041-0/+11
* Rework witness_lock() to make it slightly more useful and flexible.jhb2004-01-281-0/+3
* Extend the mutex pool implementation to permit the creation and use oftruckman2003-07-131-1/+1
* Use __FBSDID().obrien2003-06-111-2/+3
* Set the lock type equal to the lock name for now as all of the currentjhb2002-04-041-1/+1
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxarr2002-04-021-0/+8
* Invert the test of sx_xholder for SX_LOCKED. We need to warn if atanimura2002-01-181-3/+3
* Update to C99, s/__FUNCTION__/__func__/.obrien2001-12-101-3/+3
* Create a mutex pool API for short term leaf mutexes.dillon2001-11-131-28/+27
* Fix this to actually compile in the !INVARIANTS case.jhb2001-10-241-0/+8
* Change the sx(9) assertion API to use a sx_assert() function similar tojhb2001-10-231-4/+43
* The mtx_init() and sx_init() functions bzero'd locks before handing themjhb2001-10-201-1/+3
* KSE Milestone 2julian2001-09-121-5/+5
* Use witness_upgrade/downgrade for sx_try_upgrade/downgrade.jhb2001-08-231-8/+6
* Clear the sx_xholder pointer when downgrading an exclusive lock.jhb2001-08-231-0/+1
* Add sx_try_upgrade() and sx_downgrade().jasone2001-08-131-0/+46
* - Add trylock variants of shared and exclusive locks.jhb2001-06-271-4/+42
* - Move state about lock objects out of struct lock_object and into a newjhb2001-05-041-27/+3
OpenPOWER on IntegriCloud