aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sx.h
Commit message (Expand)AuthorAgeFilesLines
* Standalone SX shimsWarner Losh2020-09-291-0/+22
* sx: retire SX_NOADAPTIVEMateusz Guzik2018-12-051-1/+0
* sx: remove the spurious macro value difference vs rwlocksMateusz Guzik2018-07-121-2/+2
* sx: port over writer starvation prevention measures from rwlockMateusz Guzik2018-05-221-2/+4
* sys/sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* locks: pass the found lock value to unlock slow pathMateusz Guzik2017-11-221-4/+4
* locks: remove the file + line argument from internal primitives when not usedMateusz Guzik2017-11-221-6/+23
* sx: fix mips builld after r313855Mateusz Guzik2017-02-171-1/+1
* sx: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-10/+7
* sx: uninline slock/sunlockMateusz Guzik2017-02-051-47/+4
* sx: switch to fcmpsetMateusz Guzik2017-02-051-6/+6
* sx: reduce lock accesses similarly to r311172Mateusz Guzik2017-01-181-0/+5
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-2/+4
* sys/sys: minor spelling fixes.Pedro F. Giffuni2016-05-031-1/+1
* Consistently use a reader/writer flag for lockstat probes in rwlock(9) andMark Johnston2015-07-191-6/+7
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-191-6/+6
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-0/+1
* - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao2013-11-251-0/+5
* MFcalloutng:Davide Italiano2013-03-041-1/+2
* 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