aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* - Merge changes to the base system to support OFED. These includeJeff Roberson2011-03-211-1/+1
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming2011-01-121-2/+2
* Remove unneeded includes of <sys/linker_set.h>. Other headers that useJohn Baldwin2011-01-111-1/+0
* Fix a sign bug that caused adaptive spinning in sx_xlock() to not workJohn Baldwin2010-06-081-1/+1
* In current code, threads performing an interruptible sleep (on bothAttilio Rao2009-12-121-1/+5
* When releasing a read/shared lock we need to use a write memory barrierAttilio Rao2009-09-301-4/+4
* Fix some bugs related to adaptive spinning:Attilio Rao2009-09-021-1/+1
* * Change the scope of the ASSERT_ATOMIC_LOAD() from a generic check toAttilio Rao2009-08-171-2/+3
* Add a new macro to test that a variable could be loaded atomically.Bjoern A. Zeeb2009-08-141-0/+2
* Handle lock recursion differenty by always checking against LO_RECURSABLEAttilio Rao2009-06-021-6/+8
* The patch for r193011 was partially rejected when applied, complete it.Attilio Rao2009-05-291-2/+4
* Reverse the logic for ADAPTIVE_SX option and enable it by default.Attilio Rao2009-05-291-21/+50
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-12/+82
* - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks.Jeff Roberson2009-03-151-2/+7
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchJohn Baldwin2008-09-101-2/+2
* If a thread that is swapped out is made runnable, then the setrunnable()John Baldwin2008-08-051-6/+17
* - Embed the recursion counter for any locking primitive directly in theAttilio Rao2008-05-151-0/+1
* - Pass the priority argument from *sleep() into sleepq and down intoJeff Roberson2008-03-121-9/+10
* - Re-implement lock profiling in such a way that it no longer breaksJeff Roberson2007-12-151-25/+9
* Expand lock class with the "virtual" function lc_assert which will offerAttilio Rao2007-11-181-0/+9
* generally we are interested in what thread did something asJulian Elischer2007-11-141-1/+1
* Fix sx_try_slock(), so it only fails when there is an exclusive owner.Pawel Jakub Dawidek2007-10-021-9/+12
* Fix some problems with lock_profiling in sx locks:Attilio Rao2007-07-061-22/+32
* Add functions sx_xlock_sig() and sx_slock_sig().Attilio Rao2007-05-311-26/+62
* style(9) fixes for sx locks.Attilio Rao2007-05-291-2/+2
* Add a small fix for lock profiling in sx locks.Attilio Rao2007-05-291-1/+1
* Rename the macros for assertion flags passed to sx_assert() from SX_* toJohn Baldwin2007-05-191-19/+19
* Expose sx_xholder() as a public macro. It returns a pointer to the threadJohn Baldwin2007-05-191-8/+0
* Oops, didn't include SX_ADAPTIVESPIN in the list of valid flags for theJohn Baldwin2007-05-191-1/+1
* Add a new SX_RECURSE flag to make support for recursive exclusive locksJohn Baldwin2007-05-191-2/+8
* Fix a comment.John Baldwin2007-05-181-2/+2
* Move lock_profile_object_{init,destroy}() into lock_{init,destroy}().John Baldwin2007-05-181-2/+0
* Add destroyed cookie values for sx locks and rwlocks as well as extraJohn Baldwin2007-05-081-1/+21
* fix typoKip Macy2007-04-041-1/+1
* style fixes and make sure that the lock is treated as released in the sharers...Kip Macy2007-04-041-4/+5
* Fixes to sx for newsx - fix recursed case and move out of inlineKip Macy2007-04-031-8/+31
* Optimize sx locks to use simple atomic operations for the common cases ofJohn Baldwin2007-03-311-230/+682
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-41/+41
* Add two new function pointers 'lc_lock' and 'lc_unlock' to lock classes.John Baldwin2007-03-091-0/+33
* Use C99-style struct member initialization for lock classes.John Baldwin2007-03-091-3/+3
* lock stats updates need to be protected by the lockKip Macy2007-03-021-24/+3
* Evidently I've overestimated gcc's ability to peak inside inline functionsKip Macy2007-03-011-2/+8
* Further improvements to LOCK_PROFILING:Kip Macy2007-02-271-5/+20
* general LOCK_PROFILING cleanupKip Macy2007-02-261-10/+6
* track lock class name in a way that doesn't break WITNESSKip Macy2006-11-131-1/+1
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profileKip Macy2006-11-111-1/+21
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptJohn Baldwin2006-08-151-1/+54
* Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it isJohn Baldwin2006-07-271-0/+6
* Add a new file (kern/subr_lock.c) for holding code related to structJohn Baldwin2006-01-171-17/+4
* Trim another pointer from struct lock_object (and thus from struct mtx andJohn Baldwin2006-01-061-2/+2