OpenBSD cvs log

created 2025-02-05T02:58:56Z
begin 2025-01-31T00:00:00Z
end 2025-02-01T00:00:00Z
path src/sys
commits 8

date 2025-01-31T07:53:10Z
author mvs
files src/sys/kern/uipc_socket2.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Get rid of unused `so' argument in sbcompress(). No functional changes.

ok bluhm

date 2025-01-31T11:44:47Z
author bluhm
files src/sys/netinet6/nd6.c log diff annotate
message Unlock nd6_nud_hint().

nd6_nud_hint() required exclusive net lock. This can be switched
to shared net lock in combination with the nd6 mutex. Currently
this means a slight 1.5% decrease in TCP throughput. An additional
mutex is entered which causes some cost although it has no contention.
This step necessary to prepare tcp_input() for parallel processing.

OK mvs@

date 2025-01-31T11:48:18Z
author mvs
files src/sys/kern/uipc_socket2.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Get rid of unused `so' argument in sbdrop(). No functional changes.

ok bluhm

date 2025-01-31T13:40:33Z
author bluhm
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Merge sosplice_solock_pair() into solock_pair().

sosplice_solock_pair() is basically shared netlock plus solock_pair().
By making solock_pair() generic for inet and unix sockets, socket
code needs less special locking paths.

OK mvs@

date 2025-01-31T13:49:18Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Get rid of unused `so' argument in sbdroprecord(). No functional
changes.

ok bluhm

date 2025-01-31T16:42:26Z
author kettenis
files src/sys/arch/arm64/arm64/locore.S log diff annotate
message Explicitly initialize CNTHCTL_EL2 to a know state. Some of these bits
are architecturally UNKNOWN and other bits might be initialized to
different values than the documented defaults by the firmware.

Based on a diff from Jared McNeill in NetBSD.
ok patrick@ (and some input from lucas@)

date 2025-01-31T16:46:41Z
author kettenis
files src/sys/arch/arm64/dev/agtimer.c log diff annotate
message Explicitly initialize initialize CNTKCTL_EL1 to a known state. Some of
these bits are architecturally UNKNOWN and other bits might be initialized
to different values than the documented defaults by the firmware.

Based on a commit from Jared McNeill in NetBSD.
ok patrick@

date 2025-01-31T20:49:25Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/arm64/vm_machdep.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
message Optimize pmap teardown by skipping TLB flushes. Instead disable the
userland mappings as soon as threads exit and flush all TLB entries for
the ASIDs used by the pmap when the last thread that uses the pmap exits.
Gives roughly 5% of performance boost doing a kernel build.

ok mpi@