diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2022-07-29 17:47:13 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2022-07-29 17:47:13 +0000 |
commit | 12e1f1dfeac43fd03ac9d5089076cff7102f963a (patch) | |
tree | e39871a48d8ee79b370dd879097275f327bbf012 /usr.sbin/ntpd | |
parent | 58ff610e58b15337a36e052fcd775f267b3984fa (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 'usr.sbin/ntpd')
0 files changed, 0 insertions, 0 deletions