aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* locks: make trylock routines check for 'unowned' valueMateusz Guzik2017-02-191-3/+8
* locks: clean up trylock primitivesMateusz Guzik2017-02-181-12/+21
* sx: fix compilation on UP kernels after r313855Mateusz Guzik2017-02-171-1/+1
* locks: let primitives for modules unlock without always goging to the slsow pathMateusz Guzik2017-02-171-0/+4
* locks: remove SCHEDULER_STOPPED checks from primitives for modulesMateusz Guzik2017-02-171-4/+0
* locks: tidy up unlock fallback pathsMateusz Guzik2017-02-091-6/+8
* sx: implement slock/sunlock fast pathMateusz Guzik2017-02-081-57/+101
* locks: change backoff to exponentialMateusz Guzik2017-02-071-21/+3
* locks: fix recursion support after recent changesMateusz Guzik2017-02-061-0/+3
* sx: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-4/+16
* sx: add witness support missed in r313272Mateusz Guzik2017-02-051-1/+17
* sx: uninline slock/sunlockMateusz Guzik2017-02-051-52/+3
* sx: switch to fcmpsetMateusz Guzik2017-02-051-15/+8
* Sprinkle __read_mostly on backoff and lock profiling code.Mateusz Guzik2017-01-271-1/+1
* sx: reduce lock accesses similarly to r311172Mateusz Guzik2017-01-181-24/+44
* Return a non-NULL owner only if the lock is exclusively held in owner_sx().Mark Johnston2016-12-101-5/+7
* locks: fix sx compilation on mips after r303643Mateusz Guzik2016-08-031-0/+1
* locks: fix compilation for KDTRACE_HOOKS && !ADAPTIVE_* caseMateusz Guzik2016-08-021-2/+6
* locks: fix up ifdef guards introduced in r303643Mateusz Guzik2016-08-021-4/+4
* Implement trivial backoff for locking primitives.Mateusz Guzik2016-08-011-19/+50
* locks: change sleep_cnt and spin_cnt types to u_intMateusz Guzik2016-07-311-4/+4
* sx: increment spin_cnt before cpu_spinwait in xlockMateusz Guzik2016-07-301-1/+1
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-1/+4
* Don't modify curthread->td_locks unless INVARIANTS is enabled.Mark Johnston2015-08-021-6/+6
* Consistently use a reader/writer flag for lockstat probes in rwlock(9) andMark Johnston2015-07-191-8/+8
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-191-11/+11
* Pass the lock object to lockstat_nsecs() and return immediately ifMark Johnston2015-07-181-8/+8
* several lockstat improvementsAndriy Gapon2015-06-121-12/+39
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-1/+3
* Add a new thread state "spinning" to schedgraph and add tracepoints at theJohn Baldwin2014-11-041-0/+17
* - 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