OpenBSD cvs log

created 2022-07-31T14:00:14Z
begin 2022-07-29T08:23:40Z
end 2022-07-29T17:47:12Z
path src/sys
commits 2

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@