summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
Commit message (Expand)AuthorAgeFilesLines
* - Define KTR points for KTR_SCHED.jeff2004-12-261-0/+3
* - Garbage collect several unused members of struct kse and struce ksegrp.jeff2004-12-141-6/+0
* Remove local definitions of RANGEOF() and use __rangeof() instead.das2004-11-201-2/+0
* Add basic critical section tracing to KTR using event type KTR_CRITICAL.rwatson2004-11-071-0/+4
* If a process needs to be swapped in, wakeup the swapper from withinscottl2004-10-161-0/+4
* Fix maybe_preempt_in_ksegrp for !SMP.ups2004-10-131-7/+33
* Make !SMP kernels compile, and as far as I can tell, work again.phk2004-10-121-1/+2
* Prevent preemption in slot_fill.ups2004-10-121-1/+110
* Don't release the slot twice.. sched_rem() has already done it.julian2004-10-101-1/+0
* When preempting a thread, put it back on the HEAD of its run queue.julian2004-10-051-6/+8
* Use some macros to trach available scheduler slots to allowjulian2004-10-051-3/+8
* The zone from which proc structures are allocated is markeddas2004-09-191-16/+0
* clean up thread runq accounting a bit.julian2004-09-161-20/+20
* e specific code to revert a partial add ot teh run queue, notjulian2004-09-161-1/+9
* Oops accidentally removed #ifdef SCHED_4BSDjulian2004-09-151-0/+2
* Commit a fix for some panics we've been seeing with preemption.julian2004-09-131-2/+10
* Add some kassertsjulian2004-09-131-0/+4
* Add some code to allow threads to nominat a sibling to run if theyu are going...julian2004-09-101-5/+5
* Make debug printf less threatenning and make it only print out once.julian2004-09-071-2/+2
* Don't do IPIs on behalf of interrupt threads.julian2004-09-061-2/+2
* Refactor a bunch of scheduler code to give basically the same behaviourjulian2004-09-051-97/+184
* remove unused codejulian2004-09-021-109/+0
* Turn PREEMPTION into a kernel option. Make sure that it's defined ifscottl2004-09-021-1/+5
* Give the 4bsd scheduler the ability to wake up idle processorsjulian2004-09-011-1/+33
* Give setrunqueue() and sched_add() more of a clue as tojulian2004-09-011-6/+6
* Backout the previous backout (with scott's ok). sched_ule.c:1.122 ispeter2004-08-281-0/+2
* Revert the previous change. It works great for 4BSD but causes majorscottl2004-08-201-4/+0
* In maybe_preempt(), ignore threads that are in an inconsistent state. Thisscottl2004-08-201-0/+4
* Add a temporary debugging hack to detect a deadlock in setrunqueue(). Thisscottl2004-08-101-0/+7
* Make kg->kg_runnable actually count runnable threads in the ksegrp run queuejulian2004-08-091-4/+5
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.julian2004-08-091-6/+15
* Don't scare users with a warning about preemption being off when it isn'tjhb2004-08-061-0/+2
* Pass a thread argument into cpu_critical_{enter,exit}() rather thanrwatson2004-07-271-2/+2
* Remove the previous hack since it doesn't make a difference and is gettingscottl2004-07-231-2/+0
* Disable the PREEMPTION-enabled code in critical_exit() that encouragesscottl2004-07-221-0/+2
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsjhb2004-07-161-3/+6
* Update for the KDB framework:marcel2004-07-101-1/+2
* Unbreak build for the the !PREEMPTION case: don't define variablesmarcel2004-07-031-0/+2
* Implement preemption of kernel threads natively in the scheduler ratherjhb2004-07-021-4/+93
* - style fixes to the critical_exit() KASSERT().jeff2004-02-021-1/+2
* Move KASSERT regarding td_critnest to after the value of td is set torwatson2004-02-011-2/+1
* - Assert that td_critnest > 0 in critical_exit() to catch cases ofjeff2004-02-011-0/+2
* Although sometimes to the uninitiated, it may seem like goup, KSEGOUPrwatson2003-12-121-1/+1
* Initial landing of SMP support for FreeBSD/amd64.peter2003-11-171-2/+2
* - Remove the correct thread from the run queue in setrunqueue(). Thisjeff2003-10-171-1/+1
* - Update the sched api. sched_{add,rem,clock,pctcpu} now all accept a tdjeff2003-10-161-9/+9
* Rename P_THREADED to P_SA. P_SA means a process is using schedulerdavidxu2003-06-151-5/+5
* Use __FBSDID().obrien2003-06-111-5/+4
* When we are spilling threads out of the run queue during panic, make sure wejulian2003-05-211-3/+6
* Commit a partial lazy thread switch mechanism for i386. it isn't as lazypeter2003-04-021-1/+17
OpenPOWER on IntegriCloud