aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
Commit message (Expand)AuthorAgeFilesLines
* Remove the *_queue() variants of various sleepq and turnstile functionsJohn Baldwin2007-09-271-4/+4
* MFC: sync taskqueue api with HEAD modulo preserving the callingGleb Smirnoff2006-07-061-0/+82
* MFC: Change msleep() and tsleep() to not alter the calling thread'sJohn Baldwin2006-06-161-3/+5
* backout taskqueue changesSam Leffler2006-04-021-82/+0
* MFC: sync taskqueue api with HEAD modulo preserving the callingSam Leffler2006-03-141-0/+82
* MFC following revisions to fix sleep queue and threadDavid Xu2006-02-271-26/+6
* MFC: Use >= rather than > to check for a process exceeding its time limit.John Baldwin2005-12-051-2/+2
* Use low level constructs borrowed from interrupt threads to wait forStephan Uphoff2005-05-231-4/+3
* Sprinkle some volatile magic and rearrange things a bit to avoid raceStephan Uphoff2005-04-081-1/+1
* Don't recursively panic when we call mi_switch() in a critical section,John Baldwin2005-03-311-1/+1
* Stop explicitly touching td_base_pri outside of the scheduler and simplyJohn Baldwin2004-12-301-2/+0
* - Define KTR points for KTR_SCHED.Jeff Roberson2004-12-261-0/+17
* Unlock mutex if PDROP was set by caller.David Xu2004-11-271-0/+2
* If a process needs to be swapped in, wakeup the swapper from withinScott Long2004-10-161-5/+5
* Refine the turnstile and sleep queue interfaces just a bit:John Baldwin2004-10-121-3/+4
* Rework how we store process times in the kernel such that we always storeJohn Baldwin2004-10-051-3/+3
* clean up thread runq accounting a bit.Julian Elischer2004-09-161-1/+1
* Add some code to allow threads to nominat a sibling to run if theyu are going...Julian Elischer2004-09-101-1/+1
* Refactor a bunch of scheduler code to give basically the same behaviourJulian Elischer2004-09-051-3/+3
* Now that the return value semantics of cv's for multithreaded processesJohn Baldwin2004-08-191-28/+16
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.Julian Elischer2004-08-091-4/+4
* Workaround a possible deadlock on SMP due to a spin lock LOR by disablingJohn Baldwin2004-08-041-0/+6
* Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for thatDavid Xu2004-07-281-1/+1
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsJohn Baldwin2004-07-161-1/+2
* Update for the KDB framework:Marcel Moolenaar2004-07-101-9/+5
* Implement preemption of kernel threads natively in the scheduler ratherJohn Baldwin2004-07-021-1/+4
* - Change mi_switch() and sched_switch() to accept an optional thread toJohn Baldwin2004-07-021-3/+3
* Remove the signal_caught argument from sleepq_timedwait() as it wasJohn Baldwin2004-06-281-1/+1
* Remove a stale and misleading comment.Tim J. Robbins2004-06-071-7/+0
* Fixed some common printf format errors. Don't assume that "struct foo *"Bruce Evans2004-05-141-19/+14
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
* - Remove old sleep queues.John Baldwin2004-03-121-13/+1
* Mark loadaverage callout as CALLOUT_MPSAFE.Robert Watson2004-03-081-1/+1
* Correct handling of PDROP in msleep() to just skip the mtx_lock() ratherJohn Baldwin2004-03-021-3/+1
* Switch the sleep/wakeup and condition variable implementations to use theJohn Baldwin2004-02-271-217/+81
* - Revert rev 1.240 we no longer need a kthread for loadav().Jeff Roberson2004-02-011-31/+12
* - Use sched_load() rather than grabbing the sx lock and traversing the procJeff Roberson2004-02-011-20/+2
* Move the loadav() callout into its own kthread since it uses allproc_lockJohn Baldwin2004-01-281-12/+31
* - Use a unique string for the sched_setup SYSINIT and rename sched_setup toJeff Roberson2004-01-251-3/+3
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orJeff Roberson2004-01-251-7/+10
* Removed mostly-dead code for setting switchtime after the idle loopBruce Evans2003-10-291-8/+2
* - Collapse sched_switchin() and sched_switchout() into sched_switch(). NowJeff Roberson2003-10-161-12/+1
* Add a pre-emption counter, td_generation, so that threads can noticeBruce M Simpson2003-10-051-0/+2
* - On my Pentium4-M laptop, invalpg takes ~1100 cycles if the page is found inJeff Roberson2003-09-301-8/+0
* Change instances of callout_init that specify MPSAFE behaviour toSam Leffler2003-08-191-1/+1
* - Various style fixes in both code and comments.John Baldwin2003-08-151-18/+16
* Update powerpc to use the (old thread,new thread) calling conventionPeter Grehan2003-08-141-6/+0
* - Convert Alpha over to the new calling conventions for cpu_throw() andJohn Baldwin2003-08-121-2/+2
* unifdef -DLAZY_SWITCH and start to tidy up the associated glue.Peter Wemm2003-07-101-3/+0
* o Change kse_thr_interrupt to allow send a signal to a specified thread,David Xu2003-06-281-8/+10