summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
AgeCommit message (Expand)Author
2023-09-19Add a KASSERT for p->p_wchan == NULL to setrunqueue()Claudio Jeker
2023-09-14clockintr, scheduler: move statclock handle from clockintr_queue to schedstat...Scott Soule Cheloha
2023-09-10clockintr: support an arbitrary callback function argumentScott Soule Cheloha
2023-09-06clockintr: clockintr_establish: change first argument to a cpu_info pointerScott Soule Cheloha
2023-08-31sched_cpu_init: remove unnecessary NULL-checks for clockintr pointersScott Soule Cheloha
2023-08-29Remove p_rtime from struct proc and replace it by passing the timespecClaudio Jeker
2023-08-14Extend scheduler tracepoints to follow CPU jumping.Martin Pieuchot
2023-08-11hardclock(9), roundrobin: make roundrobin() an independent clock interruptScott Soule Cheloha
2023-08-05hardclock(9): move setitimer(2) code into itimer_update()Scott Soule Cheloha
2023-08-05Remove the P_WSLEEP specific KASSERT(). Not only procs in state SSTOPClaudio Jeker
2023-08-03Remove the per-cpu loadavg calculation.Claudio Jeker
2023-07-27sched_init_cpu: move profclock staggering to clockintr_cpu_init()Scott Soule Cheloha
2023-07-25statclock: move profil(2), GPROF code to profclock(), gmonclock()Scott Soule Cheloha
2023-07-14struct sleep_state is no longer used, remove it.Claudio Jeker
2023-07-11Rework sleep_setup()/sleep_finish() to no longer hold the scheduler lockClaudio Jeker
2023-06-28First step at removing struct sleep_state.Claudio Jeker
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-01-20Shifting signed integers left by 31 is undefined behavior in C.Alexander Bluhm
2021-09-09Add THREAD_PID_OFFSET to tracepoint arguments that pass a TID to userland.Martin Pieuchot
2021-07-06Introduce CPU_IS_RUNNING() and us it in scheduler-related code to preventMark Kettenis
2021-06-29Didn't intend to commit the CPU_IS_RUNNING() changes just yet, so revertMark Kettenis
2021-06-29SMP support. Mostly works, but occasionally craps out during boot.Mark Kettenis
2021-02-08Simplify sleep_setup API to two operations in preparation for splittingMartin Pieuchot
2021-01-09Use sysctl_int_bounded in sysctl_hwsmtgnezdo
2020-06-11get rid of a vestigial bit of the sbartq.David Gwynne
2020-02-21Remove sigacts structure sharing. The only process that used sharing wasClaudio Jeker
2020-02-05Remove dead store, from Amit Kulkarni.Martin Pieuchot
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-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-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-03-26Make sure that each ci has its spc_deferred queue initialized.Visa Hankala
2019-02-26Introduce safe memory reclamation, a mechanism for reclaiming sharedVisa Hankala
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha
2018-10-05Revert KERN_CPTIME2 ENODEV changes in kernel and userspace.cheloha
2018-09-26KERN_CPTIME2: set ENODEV if the CPU is offline.cheloha
2018-07-12Add hw.ncpuonline to count the number of online CPUs.cheloha
2018-07-07Release the kernel lock fully on thread exit. This prevents a lockingVisa Hankala
2018-06-30Don't steal processes from other CPUs if we're not scheduling processes onMark Kettenis
2018-06-19SMT (Simultanious Multi Threading) implementations typically shareMark Kettenis
2017-12-14make sched_barrier use cond_wait/cond_signal.David Gwynne
2017-11-28Raise the IPL of the sbar taskq to avoid lock order issuesVisa Hankala
2017-02-12Split up fork1():Philip Guenther
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-06-03Allow pegged process on secondary CPUs to continue to be scheduled whenMark Kettenis