OpenBSD cvs log

created 2023-09-10T08:22:38Z
begin 2023-09-08T00:00:00Z
end 2023-09-09T00:00:00Z
path src/sys
commits 7

date 2023-09-08T09:06:31Z
author claudio
files src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_resource.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Change how ps_threads and p_thr_link are locked away from using SCHED_LOCK.

The per process thread list can be traversed (read) by holding either
the KERNEL_LOCK or the per process ps_mtx (instead of SCHED_LOCK).
Abusing the SCHED_LOCK for this makes it impossible to split up the
scheduler lock into something more fine grained.

Tested by phessler@, ok mpi@

date 2023-09-08T13:40:52Z
author naddy
files src/sys/net/pf.c log diff annotate
message revert previous

The change broke IPv6 neighbor discovery, and anton@ reports several
regression test failures.

ok bluhm@

date 2023-09-08T20:00:27Z
author mvs
files src/sys/dev/hotplug.c log diff annotate
message Remove the remnants of the leftover selinfo from vnode(9) layer. Just
mechanical 'selinfo' to 'klist' replacement in 'vnode' structure because
knote(9) API is already used.

<sys/selinfo.h> headers added where is was required.

ok bluhm

date 2023-09-08T20:00:28Z
author mvs
files src/sys/dev/wscons/wseventvar.h log diff annotate
src/sys/isofs/cd9660/cd9660_vnops.c log diff annotate
src/sys/miscfs/fuse/fuse_device.c log diff annotate
src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_vnops.c log diff annotate
src/sys/nfs/nfs_kq.c log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/tmpfs/tmpfs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
message Remove the remnants of the leftover selinfo from vnode(9) layer. Just
mechanical 'selinfo' to 'klist' replacement in 'vnode' structure because
knote(9) API is already used.

<sys/selinfo.h> headers added where is was required.

ok bluhm

date 2023-09-08T20:47:22Z
author kn
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/biosvar.h log diff annotate
message Clean up old console bootargs

7.3 is long gone, you must have new bootloaders and new kernels.
Zaps both condition and else block, unindent and merge lines where fit.

Feedback OK kettenis
Tests OK denis

date 2023-09-08T22:14:57Z
author cheloha
files src/sys/kern/kern_clockintr.c log diff annotate
message clockintr: rename "clockintr_cancel_locked" to "clockqueue_pend_delete"

The function clockintr_cancel_locked() is poorly named. "Cancel" is a
broad word that connotes too much. "clockintr" implies that we are
mainly operating on the clockintr itself, which is untrue: cq_pend,
the particular data structure, is important.

clockqueue_pend_delete() is a much better name: it specifies the data
structure we're operating on ("cq_pend") and the fundamental operation
at work ("delete").

date 2023-09-08T22:23:30Z
author cheloha
files src/sys/kern/kern_clockintr.c log diff annotate
message clockintr: rename "clockintr_schedule_locked" to "clockqueue_pend_insert"

The function clockintr_schedule_locked() is poorly named. "Schedule" is
a broad word that connotes too much and "clockintr" implies that we are
mainly operating on the clockintr itself, which is untrue.

clockqueue_pend_insert() is a better name: it is clearer that we are
inserting an element into cq_pend.