aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao2013-11-251-5/+0
* Consistently use the same value to indicate exclusively-held andDavide Italiano2013-09-221-4/+4
* Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. WithDavide Italiano2013-09-201-4/+4
* A few mostly cosmetic nits to aid in debugging:John Baldwin2013-06-251-3/+3
* Fixup r240424: On entering KDB backends, the hijacked thread to runAttilio Rao2012-12-221-4/+5
* Remove all the checks on curthread != NULL with the exception of some MDAttilio Rao2012-09-131-5/+0
* Improve check coverage about idle threads.Attilio Rao2012-09-121-0/+13
* Add software PMC support.Fabien Thomas2012-03-281-0/+12
* put sys/systm.h at its proper place or add it if missingAndriy Gapon2011-12-121-1/+1
* panic: add a switch and infrastructure for stopping other CPUs in SMP caseAndriy Gapon2011-12-111-0/+32
* Introduce the same mutex-wise fix in r227758 for sx locks.Attilio Rao2011-11-211-4/+4
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-11/+11
* Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.Ed Schouten2011-11-071-1/+1
* - 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