OpenBSD cvs log

created 2022-07-31T01:10:03Z
begin 2022-07-29T00:00:00Z
end 2022-07-30T00:00:00Z
path src/sys
commits 4

date 2022-07-29T08:23:40Z
author visa
files src/sys/net/if.c log diff annotate
message Allocate if_index before queue init

Allocate the index of a new network interface early so that the index
is available when the interface's queues are set up. This avoids
unintended concentration on net_tq(0).

Replace the kernel lock with an rwlock to serialize index map updates.
The kernel lock is not reliable here because the memory allocation
can sleep.

Also, correct the "too many interfaces" condition because the valid
index range is from 1 to USHRT_MAX.

OK bluhm@

date 2022-07-29T17:47:11Z
author semarie
files src/sys/conf/files log diff annotate
src/sys/ddb/db_command.c log diff annotate
src/sys/ddb/db_interface.h log diff annotate
message Replace the swap extent(9) usage by a blist data structure.

It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't
really scale with gigabytes of swap.

Based on initial work from mpi@
The blist implementation comes from DragonFlyBSD.

The diff adds also a ddb(4) 'show swap' command to show the blist and help
debugging, and fix some off-by-one in size printed during hibernate.

ok mpi@

date 2022-07-29T17:47:12Z
author semarie
files src/sys/kern/subr_blist.c log diff annotate
src/sys/kern/subr_hibernate.c log diff annotate
src/sys/sys/blist.h log diff annotate
src/sys/uvm/uvm_swap.c log diff annotate
message Replace the swap extent(9) usage by a blist data structure.

It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't
really scale with gigabytes of swap.

Based on initial work from mpi@
The blist implementation comes from DragonFlyBSD.

The diff adds also a ddb(4) 'show swap' command to show the blist and help
debugging, and fix some off-by-one in size printed during hibernate.

ok mpi@

date 2022-07-29T21:34:59Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
src/sys/arch/arm64/stand/efiboot/ldscript.arm64 log diff annotate
src/sys/arch/arm64/stand/efiboot/start.S log diff annotate
message Give to PE/COFF file proper .text and .data sections, and fill in the
characteristics field in the COFF header. Makes our bootloader work in the
x13s. With help from mlarkin@.

ok mlarkin@