summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
AgeCommit message (Expand)Author
2016-06-03Allow pegged process on secondary CPUs to continue to be scheduled whenMark Kettenis
2016-03-17Replace curcpu_is_idle() by cpu_is_idle() and use it instead of rollingMartin Pieuchot
2015-12-23One "sbar" taskq is enough.Mark Kettenis
2015-12-17Make the cost of moving a process to the primary cpu a bit higher. This isMark Kettenis
2015-10-16Make sched_barrier() use its own task queue to avoid deadlocks.Martin Pieuchot
2015-09-20Short circuit if we're running on the CPU that we want to sync with. FixesMark Kettenis
2015-09-13Introduce sched_barrier(9), an interface that acts as a scheduler barrier inMark Kettenis
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-09-24Keep under #ifdef MULTIPROCESSOR the code that deals with SPCF_SHOULDHALTMartin Pieuchot
2014-07-26If we're stopping a secondary cpu, don't let sched_choosecpu() short-circuitMark Kettenis
2014-07-13Fix sched_stop_secondary_cpus() to properly drain CPUsMatthew Dempsky
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
2014-02-12Eliminate the exit sig handling, which was only invokable via thePhilip Guenther
2013-06-06Prevent idle thread from being stolen on startup.Christiano F. Haesbaert
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-04-19sprinkle ifdef MP to disable cpu migration code when not needed.Ted Unangst
2012-07-10Make sure that we don't schedule processes on CPUs that we havetaken out ofMark Kettenis
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-10Account for sched_noidle and document the scheduler variables.Christiano F. Haesbaert
2011-10-12Remove all MD diagnostics in cpu_switchto(), and move them to MI code ifMiod Vallat
2011-07-06Clean up after P_BIGLOCK removal.Artur Grabowski
2010-05-28Delete a fallback definition for CPU_INFO_UNIT that's both unnecessaryPhilip Guenthe
2010-05-25Actively remove processes from the runqueues of a CPU when we stop it.Mark Kettenis
2010-05-14Make sure we initialize sched_lock before we try to use it.Mark Kettenis
2010-04-23Merge the only relevant (for now) parts of simplelock.h into lock.hTheo de Raadt
2010-04-06Implement functions to take away the secondary CPUs from the scheduler andMark Kettenis
2010-01-09Add code to stop scheduling processes on CPUs, effectively halting that CPU.Mark Kettenis
2009-11-29Backout previous commit. There is a possible race which makes it possibleMark Kettenis
2009-11-25Add a mechanism to stop the scheduler from scheduling processes on aMark Kettenis
2009-10-05Don't drop the big lock at the end of exit1(), but move it into the middle ofTheo de Raadt
2009-04-22When starting up idle, explicitly set p_cpu and the peg flag for theArtur Grabowski
2009-04-20Make pegging a proc work when there are idle cpus that are looking forArtur Grabowski
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski
2009-04-03sched_peg_curproc_to_cpu() - function to force a proc to stay on a cpuArtur Grabowski
2009-03-23Processor affinity for processes.Artur Grabowski
2008-11-06oopsTheo de Raadt
2008-11-06panic if cpu_switchto() returns from a dead processTheo de Raadt
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
2008-06-10Buffer cache revampBob Beck
2008-06-08use sched_is_idle() and nuke the sched_chooseproc prototype since weThordur I. Bjornsson
2007-11-26Move the implementation of __mp_lock (biglock) into machine dependentArtur Grabowski
2007-10-10Make context switching much more MI:Artur Grabowski