aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sx.h
Commit message (Expand)AuthorAgeFilesLines
* Introduce the same mutex-wise fix in r227758 for sx locks.Attilio Rao2011-11-211-35/+51
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-1/+1
* - Merge changes to the base system to support OFED. These includeJeff Roberson2011-03-211-2/+6
* When releasing a read/shared lock we need to use a write memory barrierAttilio Rao2009-09-301-8/+1
* In non-debugging mode make this define (void)0 instead of nothing. ThisRoman Divacky2009-06-211-1/+1
* Reverse the logic for ADAPTIVE_SX option and enable it by default.Attilio Rao2009-05-291-1/+1
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-5/+6
* Fix compilation of arm's AVILA.Ed Schouten2008-08-131-1/+2
* - Re-implement lock profiling in such a way that it no longer breaksJeff Roberson2007-12-151-3/+1
* Fix some problems with lock_profiling in sx locks:Attilio Rao2007-07-061-1/+3
* Add functions sx_xlock_sig() and sx_slock_sig().Attilio Rao2007-05-311-64/+90
* style(9) fixes for sx locks.Attilio Rao2007-05-291-4/+4
* Rename the macros for assertion flags passed to sx_assert() from SX_* toJohn Baldwin2007-05-191-3/+8
* Expose sx_xholder() as a public macro. It returns a pointer to the threadJohn Baldwin2007-05-191-0/+8
* Add a new SX_RECURSE flag to make support for recursive exclusive locksJohn Baldwin2007-05-191-0/+1
* Add destroyed cookie values for sx locks and rwlocks as well as extraJohn Baldwin2007-05-081-0/+2
* Fixes to sx for newsx - fix recursed case and move out of inlineKip Macy2007-04-031-14/+6
* Optimize sx locks to use simple atomic operations for the common cases ofJohn Baldwin2007-03-311-19/+169
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-2/+2
* Allow threads to atomically release rw and sx locks while waiting for anJohn Baldwin2007-03-091-0/+2
* The _sx_assert() prototype should exist if either of INVARIANTS orJohn Baldwin2006-08-291-1/+1
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptJohn Baldwin2006-08-151-0/+3
* Add a sx_xlocked() macro which returns true if the current thread holds anJohn Baldwin2006-06-211-1/+2
* Style fix.John Baldwin2006-03-301-7/+6
* Add a SYSUNINIT() to SX_SYSINIT() to call sx_destroy() to destroy the sxJohn Baldwin2005-09-021-3/+5
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
* Add sx_unlock() macro as a frontend to both sx_sunlock() and sx_xunlock(),Darren Reed2004-07-111-0/+7
* Include <sys/queue.h> before <sys/_lock.h> instead of depending onBruce Evans2004-02-041-8/+7
* Add SX_UNLOCKED define. It will be used with sx_assert(9) to bePawel Jakub Dawidek2004-02-041-0/+1
* - Make this compile if INVARIANTS support is not enabled.Andrew R. Reiter2002-04-021-1/+1
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxAndrew R. Reiter2002-04-021-0/+14
* Create a mutex pool API for short term leaf mutexes.Matthew Dillon2001-11-131-1/+1
* Fix this to actually compile in the !INVARIANTS case.John Baldwin2001-10-241-1/+3
* Change the sx(9) assertion API to use a sx_assert() function similar toJohn Baldwin2001-10-231-37/+8
* Use NULL instead of __FILE__ in the !LOCK_DEBUG case in the locking codeJohn Baldwin2001-09-171-11/+11
* KSE Milestone 2Julian Elischer2001-09-121-3/+3
* Include <sys/_lock.h> for the definition of struct lock_object. Don'tJohn Baldwin2001-09-051-0/+1
* Add sx_try_upgrade() and sx_downgrade().Jason Evans2001-08-131-0/+4
* - Add trylock variants of shared and exclusive locks.John Baldwin2001-06-271-23/+33
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inMark Murray2001-05-011-4/+1
* Rework the witness code to work with sx locks as well as mutexes.John Baldwin2001-03-281-9/+17
* In order to avoid recursing on the backing mutex for sx locks in theJohn Baldwin2001-03-061-2/+10
* Get the arguments to the KASSERT() printf() in SX_ASSERT_XLOCKED() inJohn Baldwin2001-03-061-1/+1
* Fix typo: define SX_ASSERT_XLOCKED not SX_ASSERT_XLOCKER inDavid Malone2001-03-061-1/+1
* - Add sx_descr description member to sx lock structureBosko Milekic2001-03-061-7/+11
* Implement shared/exclusive locks.Jason Evans2001-03-051-0/+82