summaryrefslogtreecommitdiff
path: root/sys/kern/sched_bsd.c
AgeCommit message (Expand)Author
2020-05-30In automatic performance mode on systems with offline CPUs because of SMTsolene
2020-01-30Split `p_priority' into `p_runpri' and `p_slppri'.Martin Pieuchot
2020-01-21Import dt(4) a driver and framework for Dynamic Profiling.Martin Pieuchot
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-11-04Restore the old way of dispatching dead procs through idle proc.Visa Hankala
2019-11-02Move dead procs to the reaper queue immediately after context switch.Visa Hankala
2019-11-01Kill resched_proc() and instead call need_resched() when a thread isMartin Pieuchot
2019-10-15Reduce the number of places where `p_priority' and `p_stat' are set.Martin Pieuchot
2019-07-15Stop calling resched_proc() after changing the nice(3) value of a process.Martin Pieuchot
2019-07-08Untangle code setting the scheduling priority of a thread.Martin Pieuchot
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.Martin Pieuchot
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().Martin Pieuchot
2019-05-25Do not account spinning time as running time when a thread crosses aMartin Pieuchot
2019-02-26Introduce safe memory reclamation, a mechanism for reclaiming sharedVisa Hankala
2019-01-28Stop accounting/updating priorities for Idle threads.Martin Pieuchot
2019-01-06Fix unsafe use of ptsignal() in mi_switch().Visa Hankala
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