summaryrefslogtreecommitdiff
path: root/sys/kern/sched_bsd.c
AgeCommit message (Expand)Author
2024-07-08Rework per proc and per process time usage accountingClaudio Jeker
2024-06-03Remove the now unsued s argument to SCHED_LOCK and SCHED_UNLOCK.Claudio Jeker
2024-05-29Convert SCHED_LOCK from a recursive kernel lock to a mutex.Claudio Jeker
2024-03-30Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled.Martin Pieuchot
2024-01-24clockintr: switch from callee- to caller-allocated clockintr structsScott Soule Cheloha
2023-10-17clockintr: move callback-specific API behaviors to "clockrequest" namespaceScott Soule Cheloha
2023-10-11kernel: expand fixed clock interrupt periods to 64-bit valuesScott Soule Cheloha
2023-09-17scheduler_start: move static timeout structs into callback functionsScott Soule Cheloha
2023-09-10clockintr: support an arbitrary callback function argumentScott Soule Cheloha
2023-08-30Preempt a running proc even if there is no other process/thread queuedClaudio Jeker
2023-08-29Remove p_rtime from struct proc and replace it by passing the timespecClaudio Jeker
2023-08-19Refetch the spc pointer after cpu_switchto() since the value is staleClaudio Jeker
2023-08-18Move the loadavg calculation to sched_bsd.c as update_loadav()Claudio 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-07-25statclock: move profil(2), GPROF code to profclock(), gmonclock()Scott Soule Cheloha
2023-07-11Rework sleep_setup()/sleep_finish() to no longer hold the scheduler lockClaudio Jeker
2023-06-21Revert "schedcpu, uvm_meter(9): make uvm_meter() an independent timeout"Scott Soule Cheloha
2023-06-20schedcpu, uvm_meter(9): make uvm_meter() an independent timeoutScott Soule Cheloha
2023-02-04kernel: stathz is always non-zero after cpu_initclocks()Scott Soule Cheloha
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-05-10make the CPU frequency scaling duration relative to the loadSolene Rapenne
2021-10-30Change hw.perfpolicy=auto by default, at startup. If the system has ACTheo de Raadt
2021-09-09Add THREAD_PID_OFFSET to tracepoint arguments that pass a TID to userland.Martin Pieuchot
2021-08-02Don't call cpu_setperf() when reading hw.setperf.Theo Buehler
2021-05-10Revert previous, it introduced a regression with breakpoints in gdb.Martin Pieuchot
2021-05-06Refactor routines to stop/unstop processes and save the corresponding signal.Martin Pieuchot
2020-12-10Use sysctl_int_bounded for sysctl_hwsetperfgnezdo
2020-10-15Stop asserting that the NET_LOCK() shouldn't be held in yield().Martin Pieuchot
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