OpenBSD cvs log

created 2022-04-23T23:03:57Z
begin 2022-04-19T00:00:00Z
end 2022-04-20T00:00:00Z
path src/sys
commits 7

date 2022-04-19T01:32:06Z
author dlg
files src/sys/conf/GENERIC log diff annotate
message enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@

date 2022-04-19T03:25:46Z
author kevlo
files src/sys/dev/pci/if_vte.c log diff annotate
message Restore original MDC speed control register value on vte_reset,
which is needed for at least Vortex86DX3 machines.

Patch from Andrius Varanavicius via bugs@

Special thanks to DMP for donating hardware which helped make this fix
possible.

date 2022-04-19T03:26:33Z
author kevlo
files src/sys/dev/mii/miidevs log diff annotate
src/sys/dev/mii/rdcphy.c log diff annotate
message Add a new RDC PHY.

From Andrius Varanavicius

date 2022-04-19T03:26:52Z
author kevlo
files src/sys/dev/mii/miidevs.h log diff annotate
message regen

date 2022-04-19T15:30:52Z
author semarie
files src/sys/uvm/uvm_vnode.c log diff annotate
message add missing unlock before returning in uvn_detach()

uvn_detach sets UVM_VNODE_RELKILL flag and wait for all async i/o to finish. but
uvm_vnp_terminate() could clear the flag and take over the vnode.

mpi@ noted that this code path is mostly dead code because there is no "async
I/O" (uvn_io() is always synchronous).

ok visa@ mpi@

date 2022-04-19T15:44:56Z
author bluhm
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
src/sys/net/rtable.c log diff annotate
message Instead of a MP unsafe global variable to initialize at first use,
call rt_timer_init() from rtable_init().
OK mvs@ claudio@

date 2022-04-19T19:19:31Z
author bluhm
files src/sys/net/route.c log diff annotate
message Use a pool instead of malloc for struct rttimer_queue. As routing
runs without kernel lock, use IPL_MPFLOOR protection for its pools.
OK mvs@ claudio@