summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2013-06-28 03:51:20 +0000
committerjeff <jeff@FreeBSD.org>2013-06-28 03:51:20 +0000
commite725dd5c1ef985f6374f7a36ebdaaf10964b0131 (patch)
tree1ec9ab556a4e03f63542c71cdcc9e56ac39f7ef0 /sys/conf
parent5aabb39c86af06392b2155209b47c6511f6f8167 (diff)
downloadFreeBSD-src-e725dd5c1ef985f6374f7a36ebdaaf10964b0131.zip
FreeBSD-src-e725dd5c1ef985f6374f7a36ebdaaf10964b0131.tar.gz
- Add a general purpose resource allocator, vmem, from NetBSD. It was
originally inspired by the Solaris vmem detailed in the proceedings of usenix 2001. The NetBSD version was heavily refactored for bugs and simplicity. - Use this resource allocator to allocate the buffer and transient maps. Buffer cache defrags are reduced by 25% when used by filesystems with mixed block sizes. Ultimately this may permit dynamic buffer cache sizing on low KVA machines. Discussed with: alc, kib, attilio Tested by: pho Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index ed0eba9..4dc8914 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2797,6 +2797,7 @@ kern/subr_trap.c standard
kern/subr_turnstile.c standard
kern/subr_uio.c standard
kern/subr_unit.c standard
+kern/subr_vmem.c standard
kern/subr_witness.c optional witness
kern/sys_capability.c standard
kern/sys_generic.c standard
OpenPOWER on IntegriCloud