aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mutex.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* First in a series of changes to remove the now-unused Giant compatibilityRobert Watson2007-07-271-22/+5
* - Remove the global definition of sched_lock in mutex.h to breakJeff Roberson2007-07-181-1/+0
* - Placing the 'volatile' on the right side of the * in the td_lockJeff Roberson2007-06-061-1/+1
* Commit 1/14 of sched_lock decomposition.Jeff Roberson2007-06-041-0/+9
* Group the loop to acquire/release Giant with the WITNESS_SAVE/RESTORE underJohn Baldwin2007-04-111-8/+10
* move lock_profile calls out of the macros and into kern_mutex.cKip Macy2007-04-031-16/+10
* - Use PARTIAL_PICKUP_GIANT() to implement PICKUP_GIANT().John Baldwin2007-03-301-13/+9
* Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,John Baldwin2007-03-211-10/+10
* Allow threads to atomically release rw and sx locks while waiting for anJohn Baldwin2007-03-091-0/+3
* Wrap a few lines at 80 cols.John Baldwin2007-03-071-4/+8
* Replace spaces with tabs in some places.Pawel Jakub Dawidek2007-02-271-7/+7
* general LOCK_PROFILING cleanupKip Macy2007-02-261-8/+13
* Document MTX_NOPROFILE flag.Pawel Jakub Dawidek2006-12-211-1/+1
* - Fix some gcc warnings in lock_profile.hKip Macy2006-12-161-0/+4
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profileKip Macy2006-11-111-0/+1
* Write a magic value into mtx_lock when destroying a mutex that will forceJohn Baldwin2006-07-271-0/+5
* Bah, fix fat finger in last. Invert the ~ on MTX_FLAGMASK as it'sJohn Baldwin2006-06-031-2/+2
* Add a new file (kern/subr_lock.c) for holding code related to structJohn Baldwin2006-01-171-1/+1
* Include a SYSUNINIT() to destroy the mutex in MTX_SYSINIT. This makesJohn Baldwin2005-08-021-1/+3
* Convert the atomic_ptr() operations over to operating on uintptr_tJohn Baldwin2005-07-151-12/+14
* Adjust some comments to be a bit more correct.John Baldwin2005-06-231-3/+3
* - Define LOP_DUPOK in lock.h so that we may pass it to individualJeff Roberson2005-04-221-3/+3
* Divorce critical sections from spinlocks. Critical sections as denoted byJohn Baldwin2005-04-041-6/+6
* Add macro NET_CALLOUT_MPSAFE, which should be used when initializingGleb Smirnoff2005-03-011-0/+1
* Define the _mtx_assert() function prototype as well as the MA_* constantsJohn Baldwin2005-02-281-3/+3
* Rework the optimization for spinlocks on UP to be slightly less drastic andJohn Baldwin2005-01-051-5/+26
* Cache the value of curthread in the _get_sleep_lock() and _get_spin_lock()John Baldwin2004-08-041-9/+15