summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* Fix a sign bug that caused adaptive spinning in sx_xlock() to not workjhb2010-06-081-1/+1
* In current code, threads performing an interruptible sleep (on bothattilio2009-12-121-1/+5
* When releasing a read/shared lock we need to use a write memory barrierattilio2009-09-301-4/+4
* Fix some bugs related to adaptive spinning:attilio2009-09-021-1/+1
* * Change the scope of the ASSERT_ATOMIC_LOAD() from a generic check toattilio2009-08-171-2/+3
* Add a new macro to test that a variable could be loaded atomically.bz2009-08-141-0/+2
* Handle lock recursion differenty by always checking against LO_RECURSABLEattilio2009-06-021-6/+8
* The patch for r193011 was partially rejected when applied, complete it.attilio2009-05-291-2/+4
* Reverse the logic for ADAPTIVE_SX option and enable it by default.attilio2009-05-291-21/+50
* Add the OpenSolaris dtrace lockstat provider. The lockstat providersson2009-05-261-12/+82
* - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks.jeff2009-03-151-2/+7
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchjhb2008-09-101-2/+2
* If a thread that is swapped out is made runnable, then the setrunnable()jhb2008-08-051-6/+17
* - Embed the recursion counter for any locking primitive directly in theattilio2008-05-151-0/+1
* - Pass the priority argument from *sleep() into sleepq and down intojeff2008-03-121-9/+10
* - Re-implement lock profiling in such a way that it no longer breaksjeff2007-12-151-25/+9
* Expand lock class with the "virtual" function lc_assert which will offerattilio2007-11-181-0/+9
* generally we are interested in what thread did something asjulian2007-11-141-1/+1
* Fix sx_try_slock(), so it only fails when there is an exclusive owner.pjd2007-10-021-9/+12
* 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
OpenPOWER on IntegriCloud