OpenBSD cvs log

created 2021-05-02T04:21:45Z
begin 2021-04-28T00:00:00Z
end 2021-04-29T00:00:00Z
path src/sys
commits 6

date 2021-04-28T09:42:04Z
author sashan
files src/sys/sys/systm.h log diff annotate
message time to add NET_ASSERT_WLOCKED()

with moving towards NET_RLOCK...() we need NET_ASSERT_WLOCKED()
to check caller owns netlock exclusively.

OK @bluhm

date 2021-04-28T09:53:53Z
author claudio
files src/sys/kern/spec_vnops.c log diff annotate
src/sys/kern/vfs_default.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/kern/vfs_vops.c log diff annotate
src/sys/miscfs/deadfs/dead_vnops.c log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/ufs/ffs/ffs_softdep.c log diff annotate
message Introduce a global vnode_mtx and use it to make vn_lock() safe to be called
without the KERNEL_LOCK.
This moves VXLOCK and VXWANT to a mutex protected v_lflag field and also
v_lockcount is protected by this mutex.

The vn_lock() dance is overly complex and all of this should probably replaced
by a proper lock on the vnode but such a diff is a lot more complex. This
is an intermediate step so that at least some calls can be modified to grab
the KERNEL_LOCK later or not at all.

OK mpi@

date 2021-04-28T10:33:34Z
author bluhm
files src/sys/netinet/if_ether.c log diff annotate
message Document the locking mechanism of the global variables in ARP code.
The global list of ARP llinfo is protected by net lock. This is
not sufficent when we switch to shared netlock. Add a mutex for
insertion and removal when net lock is not exclusive. This is
needed if we want run IP output on multiple CPU.
Put an assertion for shared net lock into arp_rtrequest.
input mvs@; OK sashan@

date 2021-04-28T11:32:59Z
author bluhm
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/conf/GENERIC log diff annotate
message Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@

date 2021-04-28T19:01:00Z
author drahn
files src/sys/arch/riscv64/stand/Makefile log diff annotate
src/sys/arch/riscv64/stand/efiboot/Makefile log diff annotate
src/sys/arch/riscv64/stand/efiboot/conf.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/disk.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/efiboot.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/eficall.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/efidev.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/efidev.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/efipxe.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/efipxe.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/efirng.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/exec.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/fdt.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/fdt.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/heap.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/ldscript.riscv64 log diff annotate
src/sys/arch/riscv64/stand/efiboot/libsa.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/self_reloc.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/softraid_riscv64.c log diff annotate
src/sys/arch/riscv64/stand/efiboot/softraid_riscv64.h log diff annotate
src/sys/arch/riscv64/stand/efiboot/start.S log diff annotate
message riscv64 efiboot bootloader
Ported from arm64 with changes for riscv64.
Initial effort by Mickael Torres, with additional updates
ACPI api removed per request
ok kettenis@

date 2021-04-28T21:21:44Z
author bluhm
files src/sys/netinet/if_ether.c log diff annotate
message Use mq_delist() to fetch the ARP mbuf hold queue once and feed the
mbuf list to if_output().
OK sashan@ mvs@