OpenBSD cvs log

created 2019-11-16T14:41:46Z
begin 2019-11-02T00:00:00Z
end 2019-11-03T00:00:00Z
path src/sys
commits 6

date 2019-11-02T05:31:20Z
author visa
files src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/syscall_mi.h log diff annotate
message Move dead procs to the reaper queue immediately after context switch.
This eliminates a forced context switch to the idle proc. In addition,
sched_exit() no longer needs to sum proc runtime because mi_switch()
will do it.

OK mpi@ a while ago

date 2019-11-02T09:36:08Z
author mpi
files src/sys/uvm/uvm_map.h log diff annotate
message Start documenting which locking primitives apply to uvm_map members.

ok kettenis@

date 2019-11-02T10:14:57Z
author kettenis
files src/sys/dev/pci/pcireg.h log diff annotate
message Add a few more PCIe capability registers and bits. As usual, the names
are taken from Intel chipset documentation. Prompted by a diff from kurt@.

ok kurt@

date 2019-11-02T16:41:57Z
author mpi
files src/sys/uvm/uvm_map.c log diff annotate
message Revert previous, a race is present and can be triggered with golang.

Found by jsing@

date 2019-11-02T16:56:17Z
author cheloha
files src/sys/kern/kern_clock.c log diff annotate
src/sys/kern/kern_timeout.c log diff annotate
message softclock: move softintr registration/scheduling into timeout module

softclock() is scheduled from hardclock(9) because long ago callouts were
processed from hardclock(9) directly. The introduction of timeout(9) circa
2000 moved all callout processing into a dedicated module, but the softclock
scheduling stayed behind in hardclock(9).

We can move all the softclock() "stuff" into the timeout module to make
kern_clock.c a bit cleaner. Neither initclocks() nor hardclock(9) need
to "know" about softclock(). The initial softclock() softintr registration
can be done from timeout_proc_init() and softclock() can be scheduled
from timeout_hardclock_update().

ok visa@

date 2019-11-02T16:56:18Z
author cheloha
files src/sys/sys/systm.h log diff annotate
src/sys/sys/timeout.h log diff annotate
message softclock: move softintr registration/scheduling into timeout module

softclock() is scheduled from hardclock(9) because long ago callouts were
processed from hardclock(9) directly. The introduction of timeout(9) circa
2000 moved all callout processing into a dedicated module, but the softclock
scheduling stayed behind in hardclock(9).

We can move all the softclock() "stuff" into the timeout module to make
kern_clock.c a bit cleaner. Neither initclocks() nor hardclock(9) need
to "know" about softclock(). The initial softclock() softintr registration
can be done from timeout_proc_init() and softclock() can be scheduled
from timeout_hardclock_update().

ok visa@