OpenBSD cvs log

created 2024-11-04T13:43:11Z
begin 2024-10-28T00:00:00Z
end 2024-10-29T00:00:00Z
path src/sys
commits 5

date 2024-10-28T08:25:32Z
author mpi
files src/sys/uvm/uvm_glue.c log diff annotate
message Change uvm_swapout_threads() to return the amound of freed pages.

Note that currently that amount is calculated using the `uvmexp.free' global
and might include pages freed by other threads. A better solution would be
to modify pmap_collect(9) on all architectures that support it to return the
number of reclaimed pages.

ok kettenis@

date 2024-10-28T10:18:02Z
author mvs
files src/sys/arch/alpha/alpha/mem.c log diff annotate
src/sys/arch/amd64/amd64/mem.c log diff annotate
src/sys/arch/arm/arm/mem.c log diff annotate
src/sys/arch/arm64/arm64/mem.c log diff annotate
src/sys/arch/hppa/hppa/mem.c log diff annotate
message Unlock KERN_ALLOWKMEM. The `allowkmem' is atomically accessed integer.

Also use atomic_load_int(9) to load `securelevel'. sysctl_securelevel()
is mp-safe, but will be under kernel lock until all existing
`securelevel' loading became mp-safe too.

ok mpi

date 2024-10-28T10:18:03Z
author mvs
files src/sys/arch/i386/i386/mem.c log diff annotate
src/sys/arch/m88k/m88k/mem.c log diff annotate
src/sys/arch/macppc/macppc/mem.c log diff annotate
src/sys/arch/mips64/mips64/mem.c log diff annotate
src/sys/arch/powerpc64/powerpc64/mem.c log diff annotate
src/sys/arch/riscv64/riscv64/mem.c log diff annotate
src/sys/arch/sh/sh/mem.c log diff annotate
src/sys/arch/sparc64/sparc64/mem.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
message Unlock KERN_ALLOWKMEM. The `allowkmem' is atomically accessed integer.

Also use atomic_load_int(9) to load `securelevel'. sysctl_securelevel()
is mp-safe, but will be under kernel lock until all existing
`securelevel' loading became mp-safe too.

ok mpi

date 2024-10-28T14:14:04Z
author kettenis
files src/sys/arch/arm64/dev/rtkit.c log diff annotate
message Improve RK_DEBUG debug code to also print the mailbox messages that we send.

ok tobhe@

date 2024-10-28T14:16:39Z
author kettenis
files src/sys/arch/arm64/dev/aplsmc.c log diff annotate
message Set AP power state. Fixes the SMC initialization on (at least) the M1
MacBook with the latest system firmware.

ok patrick@, jsg@