OpenBSD cvs log

created 2024-05-16T23:03:04Z
begin 2024-05-01T00:00:00Z
end 2024-05-02T00:00:00Z
path src/sys
commits 3

date 2024-05-01T10:43:42Z
author jan
files src/sys/dev/pci/if_ix.c log diff annotate
message Refactor receive offloading code in ix(4)

- reduce complexcity
- avoid combination of TCP and UDP IN_OK mbuf annotaions

with tweaks from bluhm
tested by bluhm

ok bluhm@

date 2024-05-01T12:54:27Z
author mpi
files src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/uvm/uvm_page.c log diff annotate
src/sys/uvm/uvm_pdaemon.c log diff annotate
src/sys/uvm/uvm_percpu.h log diff annotate
src/sys/uvm/uvm_pmemrange.c log diff annotate
src/sys/uvm/uvm_pmemrange.h log diff annotate
src/sys/uvm/uvmexp.h log diff annotate
message Add per-CPU caches to the pmemrange allocator.

The caches are used primarily to reduce contention on uvm_lock_fpageq() during
concurrent page faults. For the moment only uvm_pagealloc() tries to get a
page from the current CPU's cache. So on some architectures the caches are
also used by the pmap layer.

Each cache is composed of two magazines, design is borrowed from jeff bonwick
vmem's paper and the implementation is similar to the one of pool_cache from
dlg@. However there is no depot layer and magazines are refilled directly by
the pmemrange allocator.

This version includes splvm()/splx() dances because the buffer cache flips
buffers in interrupt context. So we have to prevent recursive accesses to
per-CPU magazines.

Tested by naddy@, solene@, krw@, robert@, claudio@ and Laurence Tratt.

ok claudio@, kettenis@

date 2024-05-01T13:15:59Z
author jsg
files src/sys/nfs/krpc_subr.c log diff annotate
src/sys/nfs/nfs_bio.c log diff annotate
src/sys/nfs/nfs_boot.c log diff annotate
src/sys/nfs/nfs_debug.c log diff annotate
src/sys/nfs/nfs_kq.c log diff annotate
src/sys/nfs/nfs_node.c log diff annotate
src/sys/nfs/nfs_serv.c log diff annotate
src/sys/nfs/nfs_srvcache.c log diff annotate
src/sys/nfs/nfs_subs.c log diff annotate
src/sys/nfs/nfs_syscalls.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/nfs/nfs_vnops.c log diff annotate
message remove unneeded includes
ok miod@ mpi@