aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mutex.h
Commit message (Expand)AuthorAgeFilesLines
* Revert "sys/mutex.h: Include sys/lock.h instead of sys/_lock.h"Emmanuel Vadot2023-11-281-1/+1
* Revert "sys/mutex.h: Reorder includes"Emmanuel Vadot2023-11-281-1/+1
* sys/mutex.h: Reorder includesEmmanuel Vadot2023-11-241-1/+1
* sys/mutex.h: Include sys/lock.h instead of sys/_lock.hEmmanuel Vadot2023-11-241-1/+1
* sys: Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-161-1/+0
* mtx: retire PARTIAL_PICKUP_GIANTMateusz Guzik2022-12-111-5/+2
* Wrap mutex(9), rwlock(9) and sx(9) macros into __extension__ ({})Gleb Smirnoff2021-10-281-12/+16
* lockprof: pass lock type as an argument instead of reading the spin flagMateusz Guzik2021-05-231-3/+3
* mtx: add mtx_wait_unlockedMateusz Guzik2020-08-041-0/+1
* Annotate Giant drop/pickup macros with __predict_falseMateusz Guzik2018-12-071-2/+2
* inline atomics and allow tied modules to inline locksMatt Macy2018-07-021-1/+1
* mtx: add mtx_spin_wait_unlockedMateusz Guzik2018-02-191-0/+2
* sys/sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Convert in-kernel thread_lock_flags calls to thread_lock when debug is disabledMateusz Guzik2017-11-251-0/+6
* locks: pass the found lock value to unlock slow pathMateusz Guzik2017-11-221-10/+13
* locks: remove the file + line argument from internal primitives when not usedMateusz Guzik2017-11-221-0/+1
* mtx: implement thread lock fastpathMateusz Guzik2017-10-211-0/+14
* mtx: clean up locking spin mutexesMateusz Guzik2017-10-201-9/+16
* mtx: change MTX_UNOWNED from 4 to 0Mateusz Guzik2017-10-131-7/+3
* mtx: drop the tid argument from _mtx_lock_sleepMateusz Guzik2017-09-271-8/+8
* locks: ensure proper barriers are used with atomic ops when necessaryMateusz Guzik2017-03-011-1/+1
* mtx: fix spin mutexes interaction with failed fcmpsetMateusz Guzik2017-02-201-6/+3
* mtx: plug the 'opts' argument when not usedMateusz Guzik2017-02-181-5/+4
* mtx: restrict r313875 to kernels without LOCK_PROFILINGMateusz Guzik2017-02-171-0/+14
* mtx: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-13/+8
* mtx: switch to fcmpsetMateusz Guzik2017-02-051-14/+21
* mtx: reduce lock accessesMateusz Guzik2017-01-031-1/+7
* Implement mtx_trylock_spin(9).Konstantin Belousov2016-07-231-0/+44
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-3/+3
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-191-13/+10
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-0/+1
* Garbage collect mtxpool_lockbuilder, the mutex pool historically usedRobert Watson2014-05-021-4/+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-0/+3
* Remove an unused macro we originally got from BSD/OS.John Baldwin2013-06-011-6/+0
* MFcalloutng:Davide Italiano2013-03-041-1/+2
* Tweak comment to make more clear why it will fail.Attilio Rao2012-11-021-1/+1
* Give mtx(9) the ability to crunch different type of structures, with theAttilio Rao2012-10-311-16/+53
* panic: add a switch and infrastructure for stopping other CPUs in SMP caseAndriy Gapon2011-12-111-1/+2
* Introduce macro stubs in the mutex implementation that will be alwaysAttilio Rao2011-11-201-30/+45
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-1/+1
* Retire mp_fixme(). It's no longer used.Alan Cox2011-02-141-10/+0
* - Remove <machine/mutex.h>. Most of the headers were empty, and theJohn Baldwin2010-11-091-63/+36
* Account for unlocking a spin mutex in the lock profiling code in the !SMPJohn Baldwin2010-09-291-1/+4
* In non-debugging mode make this define (void)0 instead of nothing. ThisRoman Divacky2009-06-211-1/+1
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-7/+9
* - Embed the recursion counter for any locking primitive directly in theAttilio Rao2008-05-151-0/+2
* Unify assertion flags for all the main primitives using the LA_* underlyingAttilio Rao2007-11-191-4/+4
* Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, whichRobert Watson2007-08-061-13/+0
* Replace references to NET_CALLOUT_MPSAFE with CALLOUT_MPSAFE, and removeRobert Watson2007-07-281-1/+0