OpenBSD cvs log

created 2024-10-07T11:30:50Z
begin 2024-10-02T00:00:00Z
end 2024-10-03T00:00:00Z
path src/sys
commits 7

date 2024-10-02T10:12:52Z
author mpi
files src/sys/arch/arm/arm/pmap7.c log diff annotate
message Switch PV pool allocator to use km_alloc(9) instead of uvm_km_kmemalloc(9).

Reduce differences between pmaps & allow us to remove another deprecated
allocator.

ok phessler@, miod@

date 2024-10-02T10:17:28Z
author mpi
files src/sys/uvm/uvm_pmemrange.c log diff annotate
src/sys/uvm/uvm_pmemrange.h log diff annotate
message Return number of freed pages in uvm_pmr_cache_drain().

ok kettenis@

date 2024-10-02T10:24:11Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Improve responsiveness in OOM situations & make free target checks coherent.

Remove a change introduced in NetBSD to pageout 4 times as many pages as
required to meet the low water mark of free pages. With todays' Gbs of
RAMs, it makes the pagedaemon hog the CPU for too long when the amount of
free pages is close to none.

ok sthen@, kettenis@

date 2024-10-02T10:36:33Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Modify uvmpd_scan_inactive() to access `uvmexp.pdfreed' only once.

ok kettenis@

date 2024-10-02T17:05:56Z
author dv
files src/sys/arch/amd64/include/vmmvar.h log diff annotate
message Move some PCI MMIO defines from vmm(4) kernel headers to userland.

vmm(4) doesn't need this information anymore. vmd(8) is the only
consumer of this information.

ok mlarkin@

date 2024-10-02T18:18:27Z
author dv
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message amd64: implement a pmap_shootept() for non-MP kernels.

Simplifies some of the recent INVEPT changes and mirrors the design
of other pmap tlb shootdown functions that provide simplified non-MP
implementations.

ok mlarkin@

date 2024-10-02T21:21:32Z
author kettenis
files src/sys/dev/acpi/qciic.c log diff annotate
message Improve the heuristic for detecting i2c devices. On the x1e some of the
USB controllers have an I2cSerialBusV2() (possibly defining a connection
to some sort of eUSB2 to USB2 redriver chip) but are not i2c devices
themselves. So check if a device has MMIO resources and assume it isn't
a proper i2c device if it has those. Makes the Type-A ports on my
vivobook work in acpi mode.

ok patrick@, mlarkin@