OpenBSD cvs log

created 2024-04-06T12:49:02Z
begin 2024-03-30T00:00:00Z
end 2024-03-31T00:00:00Z
path src/sys
commits 8

date 2024-03-30T01:13:56Z
author jsg
files src/sys/arch/sparc64/include/ctlreg.h log diff annotate
message use void in function decl with no args; avoids non-ANSI smatch warnings

date 2024-03-30T07:45:21Z
author miod
files src/sys/arch/sparc64/sparc64/pmap.c log diff annotate
message Bring back an inline db_enter(), which makes backtraces easier to grok
when sh*t hits the fan; per kettenis@ request and forgotten in previous
cleaning commit.

date 2024-03-30T10:43:38Z
author miod
files src/sys/arch/luna88k/conf/Makefile.luna88k log diff annotate
message Use illop1 as failure instruction in the locore gap file.

date 2024-03-30T11:12:20Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add ids seen on Milk-V Pioneer

but not the Cadence ppb, it seems unlikely they asked Cadence to use it
ok deraadt@ kettenis@

date 2024-03-30T11:13:17Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2024-03-30T12:47:47Z
author mpi
files src/sys/uvm/uvm.h log diff annotate
message Document that pmemrange control data are protected by `uvm.fpageqlock'.

date 2024-03-30T13:33:20Z
author mpi
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
message Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled.

Tracepoints like "sched:enqueue" and "sched:unsleep" were called from inside
the loop iterating over sleeping threads as part of wakeup_proc(). When such
tracepoints were enabled they could result in another wakeup(9) possibly
corrupting the sleepqueue.

Rewrite wakeup(9) in two stages, first dequeue threads from the sleepqueue then
call setrunnable() and possible tracepoints for each of them.

This requires moving unsleep() outside of setrunnable() because it messes with
the sleepqueue.

ok claudio@

date 2024-03-30T13:33:21Z
author mpi
files src/sys/sys/proc.h log diff annotate
message Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled.

Tracepoints like "sched:enqueue" and "sched:unsleep" were called from inside
the loop iterating over sleeping threads as part of wakeup_proc(). When such
tracepoints were enabled they could result in another wakeup(9) possibly
corrupting the sleepqueue.

Rewrite wakeup(9) in two stages, first dequeue threads from the sleepqueue then
call setrunnable() and possible tracepoints for each of them.

This requires moving unsleep() outside of setrunnable() because it messes with
the sleepqueue.

ok claudio@