OpenBSD cvs log

created 2024-01-20T23:47:59Z
begin 2023-12-29T00:00:00Z
end 2023-12-30T00:00:00Z
path src/sys
commits 4

date 2023-12-29T10:00:18Z
author kettenis
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message Support for "control" nodes was removed from the drm subsystem some time
ago, but some code in drmopen() remained which means that opening a drm
device node with a minor that matches the range for the "control" nodes
will hit a kernel assertion. A similar issue exists for "render" nodes
corresponding to a driver that only supports KMS (such as rkdrm(4)).

Add checks to see if the minor is valid and return ENXIO if that isn't the
case to prevent a kernel crash.

ok jsg@, miod@

date 2023-12-29T11:43:04Z
author bluhm
files src/sys/net/if.c log diff annotate
src/sys/net/if_loop.c log diff annotate
message Make loopback interface counters MP safe.

Create and use the MP safe version of the interface counters for
lo(4). Input packets were counted twice. As interface input queue
is already counting, remove input count in if_input_local().
Multicast and siplex packets are counted at the ethernet interface.
Add a comment that this not MP safe.

OK mvs@

date 2023-12-29T13:23:27Z
author jca
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Use a per cpu pool cache for pmap_pv_pool

Improves performance on my 8 cores box. ok cheloha@ kettenis@

date 2023-12-29T13:23:28Z
author jca
files src/sys/arch/amd64/include/pmap.h log diff annotate
message Use a per cpu pool cache for pmap_pv_pool

Improves performance on my 8 cores box. ok cheloha@ kettenis@