Introduce sched_unpeg_curproc() to abstract the current implementation.
authormpi <mpi@openbsd.org>
Mon, 8 Jul 2024 14:46:47 +0000 (14:46 +0000)
committermpi <mpi@openbsd.org>
Mon, 8 Jul 2024 14:46:47 +0000 (14:46 +0000)
commitcf31dfdee0cd9bc598be108ae94f2bdefce0a488
tree40b84a15d0ccbf91d9773ccaf1ac53f6e7419354
parente0c4ea72833a8372f60e408e801051df76e33274
Introduce sched_unpeg_curproc() to abstract the current implementation.

ok kettenis@, mlarkin@, miod@, claudio@
sys/arch/amd64/amd64/identcpu.c
sys/dev/kstat.c
sys/kern/kern_sched.c
sys/kern/kern_smr.c
sys/sys/sched.h