Mark sched_yield(2) as NOLOCK.
authormpi <mpi@openbsd.org>
Wed, 9 Nov 2022 10:26:28 +0000 (10:26 +0000)
committermpi <mpi@openbsd.org>
Wed, 9 Nov 2022 10:26:28 +0000 (10:26 +0000)
commitec17aacb4ae98dcadf191aa9e43c9e3c0aa2a05a
treee8bb05c41b75eeb0b14eca87dcf8d216d69867a1
parent8953024c3d7bd422309f3ff539f0fbaf80e76245
Mark sched_yield(2) as NOLOCK.

All the fields accessed in this syscall are protected by the SCHED_LOCK()
so it isn't necessary to wait for another CPU to release the KERNEL_LOCK()
before that.

ok claudio@
sys/kern/syscalls.master