CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2025/05/31 00:58:27

Modified files:
        sys/kern       : kern_sched.c kern_sig.c kern_synch.c 
                         sched_bsd.c 
        sys/sys        : sched.h 

Log message:
Do not retake the SCHED_LOCK when going out of mi_switch().
No code really depends on that and it is one extra mutex operation for
no good reason.

Switch spc_curpriority to be volatile. It is only modified by the curcpu()
but read by other CPUs. Mark it like this in sched.h.
OK mpi@

Reply via email to