summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_turnstile.c
Commit message (Expand)AuthorAgeFilesLines
* Fixup a comment.jhb2004-03-121-1/+1
* Add an implementation of a generic sleep queue abstraction that is usedjhb2004-02-271-5/+0
* Clarify and tweak some comments.jhb2004-02-271-3/+3
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orjeff2004-01-251-2/+1
* Adjust an assertion for the TDF_TSNOBLOCK race handling injhb2003-12-091-2/+3
* Assert that the we never give a thread a NULL turnstile when waking it up.jhb2003-12-091-0/+2
* Revert the previous race fix and replace it with a more general fix. Thejhb2003-12-091-8/+9
* - Close a race where a thread on another CPU could release a contested lockjhb2003-11-121-4/+12
* Fix a typo in a comment.jhb2003-11-121-1/+1
* Add an implementation of turnstiles and change the sleep mutex code to usejhb2003-11-111-749/+462
* If a spin lock is held for too long and WITNESS is enabled, then calljhb2003-07-311-3/+9
* When complaining about a sleeping thread owning a mutex, display thejhb2003-07-301-1/+3
* - Add comments about the maintenance of the per-thread list of contestedjhb2003-07-021-4/+9
* Use __FBSDID().obrien2003-06-111-1/+3
* Add "" around mutex name to make message less confusing.phk2003-05-311-1/+1
* Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutexjhb2003-04-171-7/+2
* Move the _oncpu entry from the KSE to the thread.julian2003-04-101-1/+2
* Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globalstjr2003-03-231-43/+0
* Including <sys/stdint.h> is (almost?) universally only to be able to usephk2003-03-181-1/+0
* Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks.jhb2003-03-111-3/+1
* Remove safety belt: it is now ok to do a mtx_trylock() on a mutex youjhb2003-03-041-5/+4
* Miscellaneous cleanups to _mtx_lock_sleep():jhb2003-03-041-4/+6
* Properly assert that mtx_trylock() is not called on a mutex we alreadyjhb2003-03-041-8/+4
* Unbreak mutex profiling (at least for me).mtm2003-02-251-3/+15
* There's absolutely no need for a struct-within-a-struct, so move thedes2003-01-211-14/+12
* Disable the kernacc() check in mtx_validate() until such time that kernaccphk2002-10-251-0/+5
* Whitespace cleanup.des2002-10-231-10/+9
* Change the `mutex_prof' structure to use three variables containedrobert2002-10-221-18/+14
* Reduce the overhead of the mutex statistics gathering code, try to producedes2002-10-211-19/+28
* - Create a new scheduler api that is defined in sys/sched.hjeff2002-10-121-4/+2
* Rename the mutex thread and process states to use a more generic 'LOCK'jhb2002-10-021-13/+13
* uh, commit all of the patchjulian2002-09-291-0/+1
* commit the version I actually tested..julian2002-09-291-2/+4
* Implement basic KSE loaning. This stops a hread that is blocked in BOUND modejulian2002-09-291-1/+2
* Completely redo thread states.julian2002-09-111-7/+6
* Add some KASSERT()'s to ensure that we don't perform spin mutex ops onjhb2002-09-031-4/+16
* Add a new KTR type KTR_CONTENTION, and use it in the mutex code toiedowse2002-08-261-0/+20
* Disable optimization of spinlocks on UP kernels w/o debugging for nowjhb2002-07-271-2/+2
* Add mtx_ prefixes to the fields used for mutex profiling, and fix a bugdes2002-07-031-11/+12
* Part 1 of KSE-IIIjulian2002-06-291-15/+16
* Replace thread_runnable() with thread_running() as the latter is morejhb2002-06-041-6/+5
* Optimize the adaptive mutex spin a bit. Use a simple while loop withjhb2002-06-041-1/+4
* Add a private thread_runnable() macro to make the code more readable andjhb2002-06-041-3/+5
* Make the counters uintmax_ts, and use %ju rather than %llu.des2002-05-231-2/+3
* Rename pause() to ia32_pause() so it doesn't conflict with the pause()jhb2002-05-221-5/+5
* Rename cpu_pause() to pause(). Originally I was going to make this anjhb2002-05-221-5/+5
* Add appropriate IA32 "pause" instructions to improve performanec onjhb2002-05-211-1/+17
* Fix an old cut 'n' paste bug inherited from BSD/OS: don't increment 'i'jhb2002-05-211-1/+1
* Whitespace fixup, properly indent the body of an else clause.jhb2002-05-211-2/+2
* Add code to make default mutexes adaptive if the ADAPTIVE_MUTEXES kerneljhb2002-05-211-0/+26
OpenPOWER on IntegriCloud