From e725dd5c1ef985f6374f7a36ebdaaf10964b0131 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 28 Jun 2013 03:51:20 +0000 Subject: - 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 --- sys/vm/vm_kern.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/vm/vm_kern.c') diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 7c7ccc1..42cd699 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -89,8 +89,6 @@ vm_map_t kernel_map; vm_map_t kmem_map; vm_map_t exec_map; vm_map_t pipe_map; -vm_map_t buffer_map; -vm_map_t bio_transient_map; const void *zero_region; CTASSERT((ZERO_REGION_SIZE & PAGE_MASK) == 0); -- cgit v1.1