aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_turnstile.c
Commit message (Expand)AuthorAgeFilesLines
* - Remove setrunqueue and replace it with direct calls to sched_add().Jeff Roberson2007-01-231-1/+1
* Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.Xin LI2007-01-171-1/+1
* Wrap propagate_priority() in a critical section to prevent unwantedJohn Baldwin2007-01-111-0/+4
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptJohn Baldwin2006-08-151-0/+67
* Rename 'show lockchain' to 'show locktree' and 'show threadchain' toJohn Baldwin2006-08-151-5/+9
* Honor db_pager_quit in 'show threadchain', 'show allchains', andJohn Baldwin2006-07-121-1/+7
* Add some new commands to hopefully make it easier to diagnose lock-relatedJohn Baldwin2006-04-251-0/+138
* Print td_name instead of p_comm if td_name is non-empty forJohn Baldwin2006-04-211-1/+2
* - Bring back turnstile_empty() which can check to see if an individualJohn Baldwin2006-04-181-0/+67
* Always explicitly panic in propogate_priority() if we try to propogateJohn Baldwin2006-03-291-8/+14
* - Add support for having both a shared and exclusive queue of threads inJohn Baldwin2006-01-271-47/+174
* Initialize thread0.td_contested in init_turnstiles() rather thanJohn Baldwin2006-01-171-0/+1
* Garbage collect turnstile_empty() since it is unused.John Baldwin2006-01-171-16/+0
* Trim a couple of unneeded includes.John Baldwin2005-09-291-1/+0
* Make a bunch of malloc types static.Poul-Henning Kamp2005-02-101-1/+1
* Rework the interface between priority propagation (lending) and theJohn Baldwin2004-12-301-71/+120
* Refine the turnstile and sleep queue interfaces just a bit:John Baldwin2004-10-121-12/+34
* Add a critical section in turnstile_unpend() from before dropping theJohn Baldwin2004-10-051-0/+2
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-1/+1
* Revert modification of subr_turnstile.c accidentally included in theRobert Watson2004-07-251-1/+0
* In uipc_connect(), assert that the passed thread is curthread, and passRobert Watson2004-07-251-0/+1
* - Change mi_switch() and sched_switch() to accept an optional thread toJohn Baldwin2004-07-021-1/+1
* Oops, this didn't make it into my submit before I committed: DeferJohn Baldwin2004-06-291-7/+19
* Add two new kernel options to allow rudimentary profiling of the internalJohn Baldwin2004-06-291-3/+48
* Rename turnstile_wakeup() to turnstile_broadcast() to make the namingJohn Baldwin2004-04-061-2/+2
* Fixup a comment.John Baldwin2004-03-121-1/+1
* Add an implementation of a generic sleep queue abstraction that is usedJohn Baldwin2004-02-271-5/+0
* Clarify and tweak some comments.John Baldwin2004-02-271-3/+3
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orJeff Roberson2004-01-251-2/+1
* Adjust an assertion for the TDF_TSNOBLOCK race handling inJohn Baldwin2003-12-091-2/+3
* Assert that the we never give a thread a NULL turnstile when waking it up.John Baldwin2003-12-091-0/+2
* Revert the previous race fix and replace it with a more general fix. TheJohn Baldwin2003-12-091-8/+9
* - Close a race where a thread on another CPU could release a contested lockJohn Baldwin2003-11-121-4/+12
* Fix a typo in a comment.John Baldwin2003-11-121-1/+1
* Add an implementation of turnstiles and change the sleep mutex code to useJohn Baldwin2003-11-111-749/+462
* If a spin lock is held for too long and WITNESS is enabled, then callJohn Baldwin2003-07-311-3/+9
* When complaining about a sleeping thread owning a mutex, display theJohn Baldwin2003-07-301-1/+3
* - Add comments about the maintenance of the per-thread list of contestedJohn Baldwin2003-07-021-4/+9
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3
* 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