summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
Commit message (Expand)AuthorAgeFilesLines
* Trim trailing whitespace.kan2005-12-281-46/+45
* Restore KTR_CRITICAL but conditionally compile it in as KTR_SCHED.njl2005-12-181-2/+9
* Clean up unused or poorly utilized KTR values. Remove KTR_FS, KTR_KGDB,njl2005-12-171-2/+2
* In adjustrunqueue(), add code to handle thread migrating case fordavidxu2005-08-031-1/+6
* Restore preemption of idle threads.ups2005-06-101-3/+1
* Lots of whitespace cleanup.ups2005-06-091-5/+6
* Fix some race conditions for pinned threads that may cause them to runups2005-06-091-18/+30
* Use low level constructs borrowed from interrupt threads to wait forups2005-05-231-11/+4
* Fix a bug that caused preemption to happen for a thread in the sameups2005-05-191-2/+2
* Sprinkle some volatile magic and rearrange things a bit to avoid raceups2005-04-081-5/+11
* Divorce critical sections from spinlocks. Critical sections as denoted byjhb2005-04-041-4/+0
* Add a read-only kern.sched.preemption sysctl so that user space can tellrwatson2005-03-201-0/+13
* A further step on the journey of meaking panics and debugging more reliable:rwatson2005-03-171-2/+3
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
* - 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
OpenPOWER on IntegriCloud