aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mutex.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* Whitspace fix.John Baldwin2004-08-041-1/+1
* Include an annotation of NET_{LOCK,UNLOCK}_GIANT() noting that theseRobert Watson2004-06-201-1/+4
* Invert the logic of NET_LOCK_GIANT(), and remove the one reference to it.Robert Watson2004-03-281-3/+3
* Rename NET_PICKUP_GIANT() to NET_LOCK_GIANT(), and NET_DROP_GIANT()Robert Watson2004-03-011-3/+9
* o make debug_mpsafenet globally visibleSam Leffler2003-11-051-0/+21
* - mtx_ownedby() was unpopular and is no longer needed. Remove it.Jeff Roberson2003-10-161-6/+1
* - Implement a mtx_ownedby() macro which can be used to determine if aJeff Roberson2003-10-121-1/+6
* revert rev 1.64; this is not needed with rev 1.49 of lock.hSam Leffler2003-09-191-1/+1
* Don't inline mutex operations if MUTEX_PROFILING is enabled.John Baldwin2003-09-191-1/+1
* Nuke the declaration of a function which was not implemented.Don Lewis2003-07-161-1/+0
* Extend the mutex pool implementation to permit the creation and use ofDon Lewis2003-07-131-5/+23
* Add the MUTEX_NOINLINE option that explicitely de-inlines the mutexScott Long2003-05-181-3/+3
* Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globalsTim J. Robbins2003-03-231-9/+0
* Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks.John Baldwin2003-03-111-1/+0
* Allow lint-like tools to override DROP_GIANT and friends.Poul-Henning Kamp2002-12-281-3/+6
* Disable optimization of spinlocks on UP kernels w/o debugging for nowJohn Baldwin2002-07-271-1/+1
* Optimize spin mutexes for UP kernels without debugging to just enter andJohn Baldwin2002-05-211-2/+7
* Change mtx_init() to now take an extra argument. The third argument isJohn Baldwin2002-04-041-1/+6
* - Move the MI mutexes sched_lock and Giant from being declared in theJohn Baldwin2002-04-021-1/+2
* Oops, forgot to commit the definition of the mtx_name() macro.Dag-Erling Smørgrav2002-04-021-0/+2
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxAndrew R. Reiter2002-04-021-0/+16