summaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* Add "" around mutex name to make message less confusing.Poul-Henning Kamp2003-05-311-1/+1
* Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutexJohn Baldwin2003-04-171-7/+2
* Move the _oncpu entry from the KSE to the thread.Julian Elischer2003-04-101-1/+2
* Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globalsTim J. Robbins2003-03-231-43/+0
* Including <sys/stdint.h> is (almost?) universally only to be able to usePoul-Henning Kamp2003-03-181-1/+0
* Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks.John Baldwin2003-03-111-3/+1
* Remove safety belt: it is now ok to do a mtx_trylock() on a mutex youJohn Baldwin2003-03-041-5/+4
* Miscellaneous cleanups to _mtx_lock_sleep():John Baldwin2003-03-041-4/+6
* Properly assert that mtx_trylock() is not called on a mutex we alreadyJohn Baldwin2003-03-041-8/+4
* Unbreak mutex profiling (at least for me).Mike Makonnen2003-02-251-3/+15
* There's absolutely no need for a struct-within-a-struct, so move theDag-Erling Smørgrav2003-01-211-14/+12
* Disable the kernacc() check in mtx_validate() until such time that kernaccPoul-Henning Kamp2002-10-251-0/+5
* Whitespace cleanup.Dag-Erling Smørgrav2002-10-231-10/+9
* Change the `mutex_prof' structure to use three variables containedRobert Drehmel2002-10-221-18/+14
* Reduce the overhead of the mutex statistics gathering code, try to produceDag-Erling Smørgrav2002-10-211-19/+28
* - Create a new scheduler api that is defined in sys/sched.hJeff Roberson2002-10-121-4/+2
* Rename the mutex thread and process states to use a more generic 'LOCK'John Baldwin2002-10-021-13/+13
* uh, commit all of the patchJulian Elischer2002-09-291-0/+1
* commit the version I actually tested..Julian Elischer2002-09-291-2/+4
* Implement basic KSE loaning. This stops a hread that is blocked in BOUND modeJulian Elischer2002-09-291-1/+2
* Completely redo thread states.Julian Elischer2002-09-111-7/+6
* Add some KASSERT()'s to ensure that we don't perform spin mutex ops onJohn Baldwin2002-09-031-4/+16
* Add a new KTR type KTR_CONTENTION, and use it in the mutex code toIan Dowse2002-08-261-0/+20
* Disable optimization of spinlocks on UP kernels w/o debugging for nowJohn Baldwin2002-07-271-2/+2
* Add mtx_ prefixes to the fields used for mutex profiling, and fix a bugDag-Erling Smørgrav2002-07-031-11/+12
* Part 1 of KSE-IIIJulian Elischer2002-06-291-15/+16
* Replace thread_runnable() with thread_running() as the latter is moreJohn Baldwin2002-06-041-6/+5
* Optimize the adaptive mutex spin a bit. Use a simple while loop withJohn Baldwin2002-06-041-1/+4
* Add a private thread_runnable() macro to make the code more readable andJohn Baldwin2002-06-041-3/+5
* Make the counters uintmax_ts, and use %ju rather than %llu.Dag-Erling Smørgrav2002-05-231-2/+3
* Rename pause() to ia32_pause() so it doesn't conflict with the pause()John Baldwin2002-05-221-5/+5
* Rename cpu_pause() to pause(). Originally I was going to make this anJohn Baldwin2002-05-221-5/+5
* Add appropriate IA32 "pause" instructions to improve performanec onJohn Baldwin2002-05-211-1/+17
* Fix an old cut 'n' paste bug inherited from BSD/OS: don't increment 'i'John Baldwin2002-05-211-1/+1
* Whitespace fixup, properly indent the body of an else clause.John Baldwin2002-05-211-2/+2
* Add code to make default mutexes adaptive if the ADAPTIVE_MUTEXES kernelJohn Baldwin2002-05-211-0/+26
* Optimize spin mutexes for UP kernels without debugging to just enter andJohn Baldwin2002-05-211-0/+8
* Change mtx_init() to now take an extra argument. The third argument isJohn Baldwin2002-04-041-8/+11
* Revert to open hashing. It makes the code simpler, and works farily wellDag-Erling Smørgrav2002-04-021-16/+10
* - Move the MI mutexes sched_lock and Giant from being declared in theJohn Baldwin2002-04-021-0/+27
* Spelling police.John Baldwin2002-04-021-1/+1
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxAndrew R. Reiter2002-04-021-0/+11
* Instead of get_cyclecount(9), use nanotime(9) to record acquisition andDag-Erling Smørgrav2002-04-021-19/+28
* Mutex profiling code, conditional on the MUTEX_PROFILING option. Adds theDag-Erling Smørgrav2002-04-021-2/+159
* Add a new mtx_init option "MTX_DUPOK" which allows duplicate acquires of locksJeff Roberson2002-03-271-1/+3
* Remove __P.Alfred Perlstein2002-03-191-1/+1
* Tidy up some unused variablesPeter Wemm2002-02-201-5/+0
* Add kern_giant_ucred to instrument Giant around ucred related operationsMatthew Dillon2002-02-181-0/+2
* In a threaded world, differnt priorirites become properties ofJulian Elischer2002-02-111-15/+13
* Use the mtx_owner() macro in one spot in _mtx_lock_sleep() to make theJohn Baldwin2002-02-091-1/+1