summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
Commit message (Expand)AuthorAgeFilesLines
* Use scheduler API sched_relinquish() to implement yield() syscall.davidxu2006-06-151-8/+2
* In the case of reentering the debugger due to an attempt to perform ajhb2006-06-031-10/+10
* Change msleep() and tsleep() to not alter the calling thread's priorityjhb2006-04-171-3/+5
* Fix a sleep queue race for KSE thread.davidxu2006-02-231-18/+4
* Fixup some comments. Mutexes's are locked, not entered for several yearsjhb2006-02-221-5/+5
* Fix a long standing race between sleep queue and threaddavidxu2006-02-151-8/+2
* CPU time accounting speedup (step 2)phk2006-02-111-0/+6
* Modify the way we account for CPU time spent (step 1)phk2006-02-071-5/+4
* patch(1) and I aren't friends today. Axe a duplicate copy ofjhb2005-12-291-82/+0
* Add a new function msleep_spin() which is a slightly stripped down versionjhb2005-12-291-0/+164
* When checking to see if a process has exceeded its time limit, flag thejhb2005-11-281-2/+2
* Use low level constructs borrowed from interrupt threads to wait forups2005-05-231-4/+3
* Sprinkle some volatile magic and rearrange things a bit to avoid raceups2005-04-081-1/+1
* Don't recursively panic when we call mi_switch() in a critical section,jhb2005-03-311-1/+1
* Stop explicitly touching td_base_pri outside of the scheduler and simplyjhb2004-12-301-2/+0
* - Define KTR points for KTR_SCHED.jeff2004-12-261-0/+17
* Unlock mutex if PDROP was set by caller.davidxu2004-11-271-0/+2
* If a process needs to be swapped in, wakeup the swapper from withinscottl2004-10-161-5/+5
* Refine the turnstile and sleep queue interfaces just a bit:jhb2004-10-121-3/+4
* Rework how we store process times in the kernel such that we always storejhb2004-10-051-3/+3
* clean up thread runq accounting a bit.julian2004-09-161-1/+1
* Add some code to allow threads to nominat a sibling to run if theyu are going...julian2004-09-101-1/+1
* Refactor a bunch of scheduler code to give basically the same behaviourjulian2004-09-051-3/+3
* Now that the return value semantics of cv's for multithreaded processesjhb2004-08-191-28/+16
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.julian2004-08-091-4/+4
* Workaround a possible deadlock on SMP due to a spin lock LOR by disablingjhb2004-08-041-0/+6
* Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for thatdavidxu2004-07-281-1/+1
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsjhb2004-07-161-1/+2
* Update for the KDB framework:marcel2004-07-101-9/+5
* Implement preemption of kernel threads natively in the scheduler ratherjhb2004-07-021-1/+4
* - Change mi_switch() and sched_switch() to accept an optional thread tojhb2004-07-021-3/+3
* Remove the signal_caught argument from sleepq_timedwait() as it wasjhb2004-06-281-1/+1
* Remove a stale and misleading comment.tjr2004-06-071-7/+0
* Fixed some common printf format errors. Don't assume that "struct foo *"bde2004-05-141-19/+14
* Remove advertising clause from University of California Regent's license,imp2004-04-051-4/+0
* - Remove old sleep queues.jhb2004-03-121-13/+1
* Mark loadaverage callout as CALLOUT_MPSAFE.rwatson2004-03-081-1/+1
* Correct handling of PDROP in msleep() to just skip the mtx_lock() ratherjhb2004-03-021-3/+1
* Switch the sleep/wakeup and condition variable implementations to use thejhb2004-02-271-217/+81
* - Revert rev 1.240 we no longer need a kthread for loadav().jeff2004-02-011-31/+12
* - Use sched_load() rather than grabbing the sx lock and traversing the procjeff2004-02-011-20/+2
* Move the loadav() callout into its own kthread since it uses allproc_lockjhb2004-01-281-12/+31
* - Use a unique string for the sched_setup SYSINIT and rename sched_setup tojeff2004-01-251-3/+3
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orjeff2004-01-251-7/+10
* Removed mostly-dead code for setting switchtime after the idle loopbde2003-10-291-8/+2
* - Collapse sched_switchin() and sched_switchout() into sched_switch(). Nowjeff2003-10-161-12/+1
* Add a pre-emption counter, td_generation, so that threads can noticebms2003-10-051-0/+2
* - On my Pentium4-M laptop, invalpg takes ~1100 cycles if the page is found injeff2003-09-301-8/+0
* Change instances of callout_init that specify MPSAFE behaviour tosam2003-08-191-1/+1
* - Various style fixes in both code and comments.jhb2003-08-151-18/+16
OpenPOWER on IntegriCloud