diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2008-06-10 20:14:38 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2008-06-10 20:14:38 +0000 |
commit | b24b61b32a9fedc5de53427f16b7eb72e27e858d (patch) | |
tree | 7fb0535d861bd759c5fd3ec6d937d5aa85b4aeda /sys/conf/files | |
parent | cb3bb3cecc1d0474c3e63d1cdf36ba8c39fdf873 (diff) |
Buffer cache revamp
1) remove multiple size queues, introduced as a stopgap.
2) decouple pages containing data from their mappings
3) only keep buffers mapped when they actually have to be mapped
(right now, this is when buffers are B_BUSY)
4) New functions to make a buffer busy, and release the busy flag
(buf_acquire and buf_release)
5) Move high/low water marks and statistics counters into a structure
6) Add a sysctl to retrieve buffer cache statistics
Tested in several variants and beat upon by bob and art for a year. run
accidentally on henning's nfs server for a few months...
ok deraadt@, krw@, art@ - who promises to be around to deal with any fallout
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index 958ab8fd5fd..ce464781f75 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.432 2008/06/09 22:47:41 djm Exp $ +# $OpenBSD: files,v 1.433 2008/06/10 20:14:36 beck Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -707,6 +707,7 @@ file kern/uipc_socket2.c file kern/uipc_syscalls.c file kern/uipc_usrreq.c file kern/vfs_bio.c +file kern/vfs_biomem.c file kern/vfs_cache.c file kern/vfs_cluster.c file kern/vfs_conf.c |