summaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Bump the limits for determining if we've held a spinlock too long as theyJohn Baldwin2002-01-151-2/+2
* Change the preemption code for software interrupt thread schedules andJohn Baldwin2002-01-051-11/+3
* Modify the critical section API as follows:John Baldwin2001-12-181-5/+3
* Remove definition of witness and comment stating that this file implementsJohn Baldwin2001-11-151-22/+1
* Add mtx_lock_giant() and mtx_unlock_giant() wrappers for sysctl managementMatthew Dillon2001-10-261-0/+42
* The mtx_init() and sx_init() functions bzero'd locks before handing themJohn Baldwin2001-10-201-1/+3
* Remove superflous parens after de-macroizing.John Baldwin2001-09-261-2/+2
* Since we no longer inline any debugging code in the mutex operations, moveJohn Baldwin2001-09-221-4/+24
* Fix a bug in propagate priority: the kse group pointer wasn't beingJohn Baldwin2001-09-191-0/+1
* KSE Milestone 2Julian Elischer2001-09-121-95/+103
* Force a commit on kern_mutex.c to explain reason for last commit but whileBosko Milekic2001-08-241-0/+5