aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* Remove the *_queue() variants of various sleepq and turnstile functionsJohn Baldwin2007-09-271-5/+5
* Use lock_init() and lock_destroy().John Baldwin2007-09-271-13/+2
* FreeBSD 7 has a macro that converts calls to sx_init -> sx_init_flags,Alfred Perlstein2007-09-101-0/+7
* Unbreak "options DDB" breakage from previous commit.Alfred Perlstein2007-09-051-1/+0
* Backport of optimized sx locks and rwlocks from FreeBSD 7.0.Alfred Perlstein2007-09-041-232/+797
* MFC several DDB improvements including the simpler 'ps', 'show proc',John Baldwin2006-08-171-1/+54
* MFC: Adjust td_locks for non-spin mutexes and sx locks.John Baldwin2006-08-111-0/+6
* MFC: Sync up with HEAD in some of the locking primitive details:John Baldwin2006-08-011-16/+3
* MFC: Add a new 'show lock' command to ddb that can dump information aboutJohn Baldwin2005-12-201-1/+37
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* Fix _sx_assert() to panic() rather than printf() when an assertion failsJohn Baldwin2004-02-271-3/+5
* Simplify check. We are only able to check exclusive lock and ifPawel Jakub Dawidek2004-02-191-1/+5
* Allow assert that the current thread does not hold the sx(9) lock.Pawel Jakub Dawidek2004-02-041-0/+11
* Rework witness_lock() to make it slightly more useful and flexible.John Baldwin2004-01-281-0/+3
* Extend the mutex pool implementation to permit the creation and use ofDon Lewis2003-07-131-1/+1
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
* Set the lock type equal to the lock name for now as all of the currentJohn Baldwin2002-04-041-1/+1
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxAndrew R. Reiter2002-04-021-0/+8
* Invert the test of sx_xholder for SX_LOCKED. We need to warn if aSeigo Tanimura2002-01-181-3/+3
* Update to C99, s/__FUNCTION__/__func__/.David E. O'Brien2001-12-101-3/+3
* Create a mutex pool API for short term leaf mutexes.Matthew Dillon2001-11-131-28/+27
* Fix this to actually compile in the !INVARIANTS case.John Baldwin2001-10-241-0/+8
* Change the sx(9) assertion API to use a sx_assert() function similar toJohn Baldwin2001-10-231-4/+43
* The mtx_init() and sx_init() functions bzero'd locks before handing themJohn Baldwin2001-10-201-1/+3
* KSE Milestone 2Julian Elischer2001-09-121-5/+5
* Use witness_upgrade/downgrade for sx_try_upgrade/downgrade.John Baldwin2001-08-231-8/+6
* Clear the sx_xholder pointer when downgrading an exclusive lock.John Baldwin2001-08-231-0/+1
* Add sx_try_upgrade() and sx_downgrade().Jason Evans2001-08-131-0/+46
* - Add trylock variants of shared and exclusive locks.John Baldwin2001-06-271-4/+42
* - Move state about lock objects out of struct lock_object and into a newJohn Baldwin2001-05-041-27/+3
* Rework the witness code to work with sx locks as well as mutexes.John Baldwin2001-03-281-9/+62
* In order to avoid recursing on the backing mutex for sx locks in theJohn Baldwin2001-03-061-2/+2
* - Add sx_descr description member to sx lock structureBosko Milekic2001-03-061-6/+26
* Implement shared/exclusive locks.Jason Evans2001-03-051-0/+160