aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mutex.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add a new mtx_init option "MTX_DUPOK" which allows duplicate acquires of locksJeff Roberson2002-03-271-0/+1
* Fix a stupid whitespace style bogon from way back in the declarations ofJohn Baldwin2002-03-151-2/+2
* Add kern_giant_ucred to instrument Giant around ucred related operationsMatthew Dillon2002-02-181-0/+1
* Change the preemption code for software interrupt thread schedules andJohn Baldwin2002-01-051-12/+1
* Modify the critical section API as follows:John Baldwin2001-12-181-12/+10
* Overhaul the per-CPU support a bit:John Baldwin2001-12-111-1/+1
* Create a mutex pool API for short term leaf mutexes.Matthew Dillon2001-11-131-0/+7
* Add mtx_lock_giant() and mtx_unlock_giant() wrappers for sysctl managementMatthew Dillon2001-10-261-0/+8
* - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h.John Baldwin2001-10-191-6/+4
* Include sys/ktr.h before sys/_lock.h to ensure LOCK_DEBUG is set to itsJohn Baldwin2001-09-251-1/+5
* Since we no longer inline any debugging code in the mutex operations, moveJohn Baldwin2001-09-221-44/+4
* Use __FILE__ and __LINE__ explicitly since we know we will be using themJohn Baldwin2001-09-211-1/+1
* Use NULL instead of __FILE__ in the !LOCK_DEBUG case in the locking codeJohn Baldwin2001-09-171-12/+12
* Don't inline mutexes in the LOCK_DEBUG case.John Baldwin2001-09-171-1/+1
* KSE Milestone 2Julian Elischer2001-09-121-8/+8
* Get rid of most of the GIANT_XXX assertion defines. Nobody is going to useMatthew Dillon2001-08-311-35/+1
* Add a UGAR() macro to simplify the diff's for the Giant pushdown.John Baldwin2001-08-311-0/+6
* Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).Matthew Dillon2001-07-041-1/+12
* cleanup: GIANT macros, rename DEPRECIATE to DEPRECATEMatthew Dillon2001-07-041-4/+4
* With Alfred's permission, remove vm_mtx in favor of a fine-grained approachMatthew Dillon2001-07-041-0/+26
* - Move state about lock objects out of struct lock_object and into a newJohn Baldwin2001-05-041-22/+10
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inMark Murray2001-05-011-15/+2
* Rework the witness code to work with sx locks as well as mutexes.John Baldwin2001-03-281-107/+51
* - Switch from using save/disable/restore_intr to using critical_enter/exitJohn Baldwin2001-03-281-34/+56
* - Include <sys/systm.h> for KASSERT().John Baldwin2001-03-071-72/+17
* Fix INVARIANT_SUPPORT-only builds (without INVARIANTS). The requiredBosko Milekic2001-03-031-1/+8
* Change all instances of `CURPROC' and `CURTHD' to `curproc,' in orderBosko Milekic2001-02-121-15/+15
* - Place back STR string declarations for lock/unlock strings used for KTR_LOCKBosko Milekic2001-02-111-3/+35
* Change and clean the mutex lock interface.Bosko Milekic2001-02-091-98/+274
* - Don't use a union and fun tricks to shave one extra pointer off of structJohn Baldwin2001-01-241-4/+2