aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/rwlock.h
Commit message (Expand)AuthorAgeFilesLines
* Wrap mutex(9), rwlock(9) and sx(9) macros into __extension__ ({})Gleb Smirnoff2021-10-281-6/+9
* sys: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-1/+0
* Drop "All rights reserved" from my copyright statements.John Baldwin2019-03-061-1/+0
* Remove unused *_sysinit_flags() declarations.Konstantin Belousov2019-01-221-1/+0
* 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-3/+6
* locks: remove the file + line argument from internal primitives when not usedMateusz Guzik2017-11-221-11/+35
* Clean up the SYSINIT_FLAGS definitions for rwlock(9) and rmlock(9).Mark Johnston2017-11-211-17/+3
* rwlock: tidy up r313392Mateusz Guzik2017-02-151-1/+1
* rwlock: implement RW_LOCK_WRITER_RECURSED bitMateusz Guzik2017-02-071-8/+5
* rwlock: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-12/+7
* rwlock: switch to fcmpsetMateusz Guzik2017-02-051-7/+13
* rwlock: reduce lock accesses similarly to r311172Mateusz Guzik2017-01-181-0/+2
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-2/+2
* Consistently use a reader/writer flag for lockstat probes in rwlock(9) andMark Johnston2015-07-191-3/+4
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-191-5/+4
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-0/+1
* Drop the 3rd clause from all 3 clause BSD licenses where I am the soleJohn Baldwin2014-02-051-3/+0
* fix spelling of lock_initialized.. jhb approved..John-Mark Gurney2014-01-281-1/+1
* - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao2013-11-251-2/+6
* MFcalloutng:Davide Italiano2013-03-041-1/+2
* Merge r242395,242483 from mutex implementation:Attilio Rao2012-11-031-20/+58
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-2/+2
* When releasing a read/shared lock we need to use a write memory barrierAttilio Rao2009-09-301-7/+0
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-3/+4
* add RW_SYSINIT_FLAGS macro and rw_sysinit_flags initialization functionKip Macy2008-12-081-0/+19
* - Embed the recursion counter for any locking primitive directly in theAttilio Rao2008-05-151-0/+2
* Trylocks were implemented, remove stale commentKris Kennaway2008-04-121-2/+0
* Add rw_try_rlock() and rw_try_wlock() to rwlocks.Attilio Rao2008-04-011-0/+4
* Implement soon-to-be-used rw_unlock() macro.Pawel Jakub Dawidek2008-03-161-0/+6
* Adaptive spinning in write path with readers and writer starvation avoidance.Jeff Roberson2008-02-061-3/+6
* Fix some problems with lock profiling in rw locks:Attilio Rao2007-07-201-9/+6
* Introduce a new rwlocks initialization function: rw_init_flags.Attilio Rao2007-06-261-3/+17
* Add destroyed cookie values for sx locks and rwlocks as well as extraJohn Baldwin2007-05-081-0/+1
* Fix a comment grammar nit.John Baldwin2007-03-271-1/+1
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-4/+4
* Allow threads to atomically release rw and sx locks while waiting for anJohn Baldwin2007-03-091-0/+2
* Wrap a few lines at 80 cols.John Baldwin2007-03-071-2/+4
* Add rw_wowned() interface to rwlock(9), allowing a kernel thread toRobert Watson2007-02-261-0/+1
* general LOCK_PROFILING cleanupKip Macy2007-02-261-3/+8
* Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE optionGleb Smirnoff2006-10-131-0/+1
* Fix the name of the data set item for the SYSUNINIT in RW_SYSINIT to useJohn Baldwin2006-06-231-1/+1
* Implement rw_try_upgrade() and rw_downgrade(). rw_try_upgrade() makes aJohn Baldwin2006-04-191-1/+5
* Fix typo.Gleb Smirnoff2006-01-301-1/+1
* Add a basic reader/writer lock implementation to the kernel. ThisJohn Baldwin2006-01-271-0/+192