OpenBSD cvs log

created 2023-08-07T20:47:01Z
begin 2023-08-03T00:00:00Z
end 2023-08-04T00:00:00Z
path src/sys
commits 5

date 2023-08-03T09:49:08Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
src/sys/net/bfd.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/net/if_wg.c log diff annotate
message Move solock() down to sosetopt(). A part of standalone sblock() work.
This movement required because buffers related SO_SND* and SO_RCV*
socket options should be protected with sblock(). However, standalone
sblock() has different lock order with solock() and `so_snd' and
`so_rcv' buffers. At least sblock() for `so_snd' buffer will always be
taken before solock() in the sosend() path.

The (*pr_ctloutput)() call was removed from the SOL_SOCKET level 'else'
branch. Except the SO_RTABLE case where it handled in the special way,
this is null op call.

For SO_SND* and SO_RCV* cases solock() will be replaced by sblock() in
the future.

Feedback from bluhm

Tested by bluhm naddy

ok bluhm

date 2023-08-03T09:49:09Z
author mvs
files src/sys/nfs/krpc_subr.c log diff annotate
src/sys/nfs/nfs_socket.c log diff annotate
src/sys/nfs/nfs_syscalls.c log diff annotate
message Move solock() down to sosetopt(). A part of standalone sblock() work.
This movement required because buffers related SO_SND* and SO_RCV*
socket options should be protected with sblock(). However, standalone
sblock() has different lock order with solock() and `so_snd' and
`so_rcv' buffers. At least sblock() for `so_snd' buffer will always be
taken before solock() in the sosend() path.

The (*pr_ctloutput)() call was removed from the SOL_SOCKET level 'else'
branch. Except the SO_RTABLE case where it handled in the special way,
this is null op call.

For SO_SND* and SO_RCV* cases solock() will be replaced by sblock() in
the future.

Feedback from bluhm

Tested by bluhm naddy

ok bluhm

date 2023-08-03T16:08:12Z
author claudio
files src/sys/uvm/uvm_meter.c log diff annotate
message Mark the exponential constants for load avarage calculation as const.
OK cheloha@

date 2023-08-03T16:12:08Z
author claudio
files src/sys/kern/kern_sched.c log diff annotate
src/sys/sys/sched.h log diff annotate
src/sys/uvm/uvm_meter.c log diff annotate
message Remove the per-cpu loadavg calculation.
The current scheduler useage is highly questionable and probably not helpful.
OK kettenis@ cheloha@ deraadt@

date 2023-08-03T18:56:32Z
author jan
files src/sys/dev/pci/if_ix.c log diff annotate
message Enable vlan stripping of LRO packets in ix(4)

tested by bluhm

ok bluhm@