summaryrefslogtreecommitdiff
path: root/sys/conf/files
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2022-07-29 17:47:13 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2022-07-29 17:47:13 +0000
commit12e1f1dfeac43fd03ac9d5089076cff7102f963a (patch)
treee39871a48d8ee79b370dd879097275f327bbf012 /sys/conf/files
parent58ff610e58b15337a36e052fcd775f267b3984fa (diff)
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@
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index faa5090b9f8..3bd32d693b8 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.715 2022/07/12 17:12:31 jca Exp $
+# $OpenBSD: files,v 1.716 2022/07/29 17:47:11 semarie Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -710,6 +710,7 @@ file kern/kern_srp.c
file kern/kern_xxx.c
file kern/sched_bsd.c
file kern/subr_autoconf.c
+file kern/subr_blist.c
file kern/subr_disk.c
file kern/subr_evcount.c
file kern/subr_extent.c