summaryrefslogtreecommitdiff
path: root/sys/kern/sys_sched.c
AgeCommit message (Expand)Author
2023-04-09kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)riastradh
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2020-04-29Sanitize the pid and lid arguments passed to do_sched_getparam()thorpej
2020-01-27Remove comment that is out of date and I think hinting at something otherad
2016-07-30Fix reversed test.christos
2016-07-07KNF. Remove extra spaces. No functional change.msaitoh
2016-07-03GSoC 2016 Charles Cui: Implement thread priority protection based on workchristos
2014-02-25Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist beforepooka
2012-04-20- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to usermind
2012-04-13- do_sched_getparam: release locks earlier.yamt
2012-02-19Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!rmind
2012-01-29- Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there.rmind
2011-08-07- Add an argument to kcpuset_create() for zeroing.rmind
2011-08-07Remove LW_AFFINITY flag and fix some bugs affinity mask handling.rmind
2011-08-07Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel.rmind
2010-07-01Remove pfind() and pgfind(), fix locking in various broken uses of these.rmind
2009-10-03- Move sched_listener and co. from kern_synch.c to sys_sched.c, where itelad
2009-03-03lwp_create: fix the locking bugs on affinity ingerition path (mea culpa).rmind
2009-01-20- Make thread-affinity and processor-set interfaces mutually exlusive.rmind
2008-10-31- Avoid the race with CPU online/offline state changes, when setting thermind
2008-10-18Obviously intention was to check for SCHED_OTHER, not SCHED_FIFO.rmind
2008-10-18Disallow user priority adjustments for SCHED_OTHER policy, simplifyrmind
2008-10-15Merge wrstuden-revivesa into HEAD.wrstuden
2008-07-14- Disallow setting of affinity for zombie LWPs.rmind
2008-06-22Adjust to separate kcpuset_t and cpuset_t.christos
2008-06-16- Add general cpuset macros.rmind
2008-06-15gencpuset: avoid returning of unitialized error.rmind
2008-06-15Don't expose struct cpuset, share the l_affinity flag and only allocate itchristos
2008-05-25If converting a process/thread from SCHED_OTHER to a realtime thread,ad
2008-04-24Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, sincead
2008-04-24Network protocol interrupts can now block on locks, so merge the globalsad
2008-03-05s/Minimal/Maximal/ in kern.sched.pri_max sysctl node description.njoly
2008-02-28Factor out the guts of get/setparam so it can be used from the compat code.elad
2008-02-22- Add a one line comment indicating what this file does.ad
2008-02-22sys__sched_getparam and sys__sched_getaffinity: Do not assume that LWPrmind
2008-02-19fix sched_setparam() error reporting (broken by recent kauth changes)drochner
2008-02-19sys__sched_setparam: fix a lock leak.yamt
2008-02-18sys__sched_setparam: use a correct lwp.yamt
2008-02-17PR/37986: YAMAMOTO Takashi: any user can hog the all cpu withelad
2008-02-16Fold KAUTH_REQ_PROCESS_SCHEDULER_* to KAUTH_PROCESS_SCHEDULER_*. In otherelad
2008-02-09from rmind@,yamt
2008-01-31EACCES -> EPERM.elad
2008-01-30Use proper kauth(9) actions/requests for native scheduler stuff and theelad
2008-01-26sched_setparam: fix the case when incorrect (according to the class)rmind
2008-01-24Fix the return values to conform the standard and/or be compatible withrmind
2008-01-15Implementation of processor-sets, affinity and POSIX real-time extensions.rmind
2007-12-20Convert all the system call entry points from:dsl
2007-02-09Merge newlock2 to head.ad
2007-01-16#include <sys/sa.h> to get sys_upcall_t def.dogcow
2007-01-16Add sched_yield().ad