CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2025/06/09 05:11:03
Modified files: sys/kern : kern_fork.c kern_sched.c Log message: Cleanup the start of sched_init() and move the addition of CPUs to sched_all_cpus to here. An application processor is only ready to take work once sched_idle() was entered. With this the bootup code no longer requires CPU stealing since work is no longer scheduled onto unhatched CPUs. Also document the fork1() bits to add more breadcrumbs on how all this works. OK mpi@ kettenis@