OpenBSD cvs log

created 2021-01-23T22:06:00Z
begin 2021-01-17T00:00:00Z
end 2021-01-18T00:00:00Z
path src/sys
commits 10

date 2021-01-17T02:27:29Z
author dlg
files src/sys/net/bpf.c log diff annotate
message don't encode the mbuf prio as part of the vlan tag in bpf_mtap_ether.

the vlan tag we're injecting into the mbuf chain is either straight
off the wire and therefore already has the vlan priority encoded,
or is straight after it's been set up by vlan(4), which also has
the prio already encoded.

ok kn@ visa@ mvs@

date 2021-01-17T02:52:21Z
author dlg
files src/sys/dev/pci/if_myx.c log diff annotate
message this hardware is fine with BUS_DMA_64BIT mappings.

this raises performance of tcpbench on an m3000 from ~3kpps and
~8MB/s to ~70kpps and ~191MB/s when transmitting, and ~10kpps and
~15MB/s to ~120kpps and 174MB/s when receiving.

i also tested this on a v245 and an m4000 a while back.

date 2021-01-17T05:23:34Z
author visa
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Replace SB_KNOTE and sb_flagsintr with direct checking of klist.

OK mpi@ as part of a larger diff

date 2021-01-17T05:56:32Z
author visa
files src/sys/kern/kern_event.c log diff annotate
src/sys/sys/event.h log diff annotate
src/sys/sys/eventvar.h log diff annotate
message kqueue: Revise fd close notification

Deliver file descriptor close notification for __EV_POLL knotes through
struct kevent that kqueue_scan() returns. This replaces the previous way
of returning EBADF from kqueue_scan(), making it easier to determine
what exactly has changed.

When a file descriptor is closed, its __EV_POLL knotes are turned into
one-shot events and queued for delivery. These knotes are "unregistered"
as they are reachable only through the queue of active events. This
reduces interference with the normal workings of kqueue. However, more
care is needed to avoid leaking knotes. In addition, the unregistering
removes a limit on the number of issued knotes. To prevent accumulation
of pending fd close notifications, kqpoll_init() flushes the active
queue at the start of a kqpoll scan.

OK mpi@

date 2021-01-17T14:21:26Z
author jcs
files src/sys/dev/pci/pcidevs log diff annotate
message add another ax201

date 2021-01-17T14:22:09Z
author jcs
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2021-01-17T14:24:00Z
author jcs
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message add another iwx device

ok stsp jsg

date 2021-01-17T14:27:24Z
author patrick
files src/sys/dev/acpi/acpireg.h log diff annotate
message Add defines for the various ARM SMMU models.

ok kettenis@

date 2021-01-17T15:28:21Z
author mvs
files src/sys/kern/exec_elf.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
message Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'.
This allows us to unlock getppid(2).

ok mpi@

date 2021-01-17T15:28:22Z
author mvs
files src/sys/kern/kern_prot.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'.
This allows us to unlock getppid(2).

ok mpi@