summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_turnstile.c
Commit message (Expand)AuthorAgeFilesLines
* - Remove setrunqueue and replace it with direct calls to sched_add().jeff2007-01-231-1/+1
* Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.delphij2007-01-171-1/+1
* Wrap propagate_priority() in a critical section to prevent unwantedjhb2007-01-111-0/+4
* Add a new 'show sleepchain' ddb command similar to 'show lockchain' exceptjhb2006-08-151-0/+67
* Rename 'show lockchain' to 'show locktree' and 'show threadchain' tojhb2006-08-151-5/+9
* Honor db_pager_quit in 'show threadchain', 'show allchains', andjhb2006-07-121-1/+7
* Add some new commands to hopefully make it easier to diagnose lock-relatedjhb2006-04-251-0/+138
* Print td_name instead of p_comm if td_name is non-empty forjhb2006-04-211-1/+2
* - Bring back turnstile_empty() which can check to see if an individualjhb2006-04-181-0/+67
* Always explicitly panic in propogate_priority() if we try to propogatejhb2006-03-291-8/+14
* - Add support for having both a shared and exclusive queue of threads injhb2006-01-271-47/+174
* Initialize thread0.td_contested in init_turnstiles() rather thanjhb2006-01-171-0/+1
* Garbage collect turnstile_empty() since it is unused.jhb2006-01-171-16/+0
* Trim a couple of unneeded includes.jhb2005-09-291-1/+0
* Make a bunch of malloc types static.phk2005-02-101-1/+1
* Rework the interface between priority propagation (lending) and thejhb2004-12-301-71/+120
* Refine the turnstile and sleep queue interfaces just a bit:jhb2004-10-121-12/+34
* Add a critical section in turnstile_unpend() from before dropping thejhb2004-10-051-0/+2
* Give setrunqueue() and sched_add() more of a clue as tojulian2004-09-011-1/+1
* Revert modification of subr_turnstile.c accidentally included in therwatson2004-07-251-1/+0
* In uipc_connect(), assert that the passed thread is curthread, and passrwatson2004-07-251-0/+1
* - Change mi_switch() and sched_switch() to accept an optional thread tojhb2004-07-021-1/+1
* Oops, this didn't make it into my submit before I committed: Deferjhb2004-06-291-7/+19
* Add two new kernel options to allow rudimentary profiling of the internaljhb2004-06-291-3/+48
* Rename turnstile_wakeup() to turnstile_broadcast() to make the namingjhb2004-04-061-2/+2
* 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
OpenPOWER on IntegriCloud