summaryrefslogtreecommitdiff
path: root/sys/kern/kern_switch.c
Commit message (Expand)AuthorAgeFilesLines
* MFC Revision 1.117:David Xu2005-08-061-1/+6
* Restore preemption of idle threads.Stephan Uphoff2005-06-101-3/+1
* Lots of whitespace cleanup.Stephan Uphoff2005-06-091-5/+6
* Fix some race conditions for pinned threads that may cause them to runStephan Uphoff2005-06-091-18/+30
* Use low level constructs borrowed from interrupt threads to wait forStephan Uphoff2005-05-231-11/+4
* Fix a bug that caused preemption to happen for a thread in the sameStephan Uphoff2005-05-191-2/+2
* Sprinkle some volatile magic and rearrange things a bit to avoid raceStephan Uphoff2005-04-081-5/+11
* Divorce critical sections from spinlocks. Critical sections as denoted byJohn Baldwin2005-04-041-4/+0
* Add a read-only kern.sched.preemption sysctl so that user space can tellRobert Watson2005-03-201-0/+13
* A further step on the journey of meaking panics and debugging more reliable:Robert Watson2005-03-171-2/+3
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* - Define KTR points for KTR_SCHED.Jeff Roberson2004-12-261-0/+3
* - Garbage collect several unused members of struct kse and struce ksegrp.Jeff Roberson2004-12-141-6/+0
* Remove local definitions of RANGEOF() and use __rangeof() instead.David Schultz2004-11-201-2/+0
* Add basic critical section tracing to KTR using event type KTR_CRITICAL.Robert Watson2004-11-071-0/+4
* If a process needs to be swapped in, wakeup the swapper from withinScott Long2004-10-161-0/+4
* Fix maybe_preempt_in_ksegrp for !SMP.Stephan Uphoff2004-10-131-7/+33
* Make !SMP kernels compile, and as far as I can tell, work again.Poul-Henning Kamp2004-10-121-1/+2
* Prevent preemption in slot_fill.Stephan Uphoff2004-10-121-1/+110
* Don't release the slot twice.. sched_rem() has already done it.Julian Elischer2004-10-101-1/+0
* When preempting a thread, put it back on the HEAD of its run queue.Julian Elischer2004-10-051-6/+8
* Use some macros to trach available scheduler slots to allowJulian Elischer2004-10-051-3/+8
* The zone from which proc structures are allocated is markedDavid Schultz2004-09-191-16/+0
* clean up thread runq accounting a bit.Julian Elischer2004-09-161-20/+20
* e specific code to revert a partial add ot teh run queue, notJulian Elischer2004-09-161-1/+9
* Oops accidentally removed #ifdef SCHED_4BSDJulian Elischer2004-09-151-0/+2
* Commit a fix for some panics we've been seeing with preemption.Julian Elischer2004-09-131-2/+10
* Add some kassertsJulian Elischer2004-09-131-0/+4
* Add some code to allow threads to nominat a sibling to run if theyu are going...Julian Elischer2004-09-101-5/+5
* Make debug printf less threatenning and make it only print out once.Julian Elischer2004-09-071-2/+2
* Don't do IPIs on behalf of interrupt threads.Julian Elischer2004-09-061-2/+2
* Refactor a bunch of scheduler code to give basically the same behaviourJulian Elischer2004-09-051-97/+184
* remove unused codeJulian Elischer2004-09-021-109/+0
* Turn PREEMPTION into a kernel option. Make sure that it's defined ifScott Long2004-09-021-1/+5
* Give the 4bsd scheduler the ability to wake up idle processorsJulian Elischer2004-09-011-1/+33
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-6/+6
* Backout the previous backout (with scott's ok). sched_ule.c:1.122 isPeter Wemm2004-08-281-0/+2
* Revert the previous change. It works great for 4BSD but causes majorScott Long2004-08-201-4/+0
* In maybe_preempt(), ignore threads that are in an inconsistent state. ThisScott Long2004-08-201-0/+4
* Add a temporary debugging hack to detect a deadlock in setrunqueue(). ThisScott Long2004-08-101-0/+7
* Make kg->kg_runnable actually count runnable threads in the ksegrp run queueJulian Elischer2004-08-091-4/+5
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.Julian Elischer2004-08-091-6/+15
* Don't scare users with a warning about preemption being off when it isn'tJohn Baldwin2004-08-061-0/+2
* Pass a thread argument into cpu_critical_{enter,exit}() rather thanRobert Watson2004-07-271-2/+2
* Remove the previous hack since it doesn't make a difference and is gettingScott Long2004-07-231-2/+0
* Disable the PREEMPTION-enabled code in critical_exit() that encouragesScott Long2004-07-221-0/+2
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsJohn Baldwin2004-07-161-3/+6
* Update for the KDB framework:Marcel Moolenaar2004-07-101-1/+2
* Unbreak build for the the !PREEMPTION case: don't define variablesMarcel Moolenaar2004-07-031-0/+2
* Implement preemption of kernel threads natively in the scheduler ratherJohn Baldwin2004-07-021-4/+93