OpenBSD cvs log

created 2024-12-28T21:35:46Z
begin 2024-12-24T00:00:00Z
end 2024-12-25T00:00:00Z
path src/sys
commits 8

date 2024-12-24T08:39:30Z
author mpi
files src/sys/uvm/uvm_anon.c log diff annotate
src/sys/uvm/uvm_aobj.c log diff annotate
message Do not call pmap_clear_reference() twice when deactivating a page.

References are checked by the page daemon to track if a page on the inactive
list has been accessed and must be moved back to the active list. That is
why uvm_pagedeactivate() always clear them when putting a page on the inactive
list.

ok kettenis@

date 2024-12-24T08:55:48Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Use a variable to represent the type of lock necessary for the lower fault.

For the moment an exclusive (RW_WRITE) lock is always used.

ok kettenis@, tb@

date 2024-12-24T12:06:34Z
author mglocker
files src/sys/dev/acpi/dsdt.c log diff annotate
message Add support for the 'AttribRawProcessBytes' attribute, which makes the
HP Omnibook X 14 boot in ACPI mode.

Tested on ok landry@

date 2024-12-24T12:22:17Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
message Make tcp_mss() MP safe so that it could be called with socket lock.

Read tcp_mssdflt and tcp_do_rfc3390 atomically. Address family
must be AF_INET or AF_INET6, panic if not. This makes goto out a
bit simpler. Route MTU must be read once, another thread might
modify it. Fix the signed versus unsigned comparison with max()
and min().

OK mvs@

date 2024-12-24T14:24:58Z
author krw
files src/sys/kern/subr_hibernate.c log diff annotate
src/sys/sys/hibernate.h log diff annotate
message Keep hibernate writes within the area of the swap partition allocated by
uvm_hibswap() for hibernation.

Suggested by mlarkin@, initial diff from mglocker@.

ok mglocker@ deraadt@

date 2024-12-24T16:27:07Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
message Put soassertlocked() into in_pcbrtentry().

Assert that socket lock has been taken when modifying the route
cache at the inpcb. This is stronger than only documenting inp_route
with [s].

OK mvs@

date 2024-12-24T19:16:53Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
message Protect send buffer with mutex in tcp_mss_update().

To prepare for running tcp_output() in parallel, protect socket
send buffer high water field and sbreserve() with mutex.

OK mvs@

date 2024-12-24T19:19:18Z
author krw
files src/sys/dev/softraid.c log diff annotate
message In comment explaining softraid's usage of hibernate iopage add nvme/ufshci/sdmmc
to list of devices implementing side-effect free i/o functions.