summaryrefslogtreecommitdiff
path: root/sys/kern/sched_bsd.c
AgeCommit message (Expand)Author
2017-12-04Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).Martin Pieuchot
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2017-02-09Do no select a CPU to execute the current thread when being preempt()ed.Martin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2016-03-09Correct some comments and definitions, from Michal Mazurek.Martin Pieuchot
2015-11-08keep all the setperf timeout(9) handling in one place; ok tedu@Christian Weisgerber
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-11-12take a few more ticks to actually throttle down. hopefully helps inTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-10-17cpu_setperf and perflevel must remain exposed, otherwise a bunch ofTheo de Raadt
2014-10-17redo the performance throttling in the kernel.Ted Unangst
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-06-02Use long long and %lld for printing tv_sec valuesPhilip Guenther
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2012-07-09Tedu old comment concerning cpu affinity which does not apply anymore.Christiano F. Haesbaert
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2011-07-07Functions used in files other than where they are defined should bePhilip Guenthe
2011-07-06Stop using the P_BIGLOCK flag to figure out when we should release theArtur Grabowski
2011-03-07The scheduling 'nice' value is per-process, not per-thread, so move itPhilip Guenthe
2010-09-24Add stricter asserts to DIAGNOSTIC kernels to help catch mutex andMatthew Dempsky
2010-06-30This comment is unnecessarily confusing.Artur Grabowski
2010-01-03Use atomic operations to access the per-cpu scheduler flags.Mark Kettenis
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski
2009-03-23Processor affinity for processes.Artur Grabowski
2008-11-06Some paranoia and deconfusion.Artur Grabowski
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-07-18Add a macro that clears the want_resched flag that need_resched sets.Artur Grabowski
2008-05-22kill 2 bogus ARGUSED and use the LIST_FOREACH() macroThordur I. Bjornsson
2007-11-26Move the implementation of __mp_lock (biglock) into machine dependentArtur Grabowski
2007-10-11sched_lock_idle and sched_unlock_idle are obsolete now.Artur Grabowski
2007-10-10Make context switching much more MI:Artur Grabowski
2007-05-18Widen the SCHED_LOCK in two cases to protect p_estcpu and p_priority.Artur Grabowski
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2007-02-06Use atomic.h operation for manipulating p_siglist in struct proc. SolvesArtur Grabowski
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
2006-11-15typos; from bret lambertJason McIntyre
2006-10-21tbert sent me a diff to change some 0 to NULLTed Unangst
2006-10-09bret lambert sent a patch removing register. i made it ansi.Ted Unangst
2005-06-17A second approach at fixing the telnet localhost & problemNiklas Hallqvist
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-26Fix yield() to change p_stat from SONPROC to SRUN.Artur Grabowski
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-07-29put the scheduler in its own file. reduces clutter, and logically separatesTed Unangst