summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-26 00:08:05 +0000
committerdillon <dillon@FreeBSD.org>2001-10-26 00:08:05 +0000
commitf883ef447af57985b21cde8cd13232ca845190a4 (patch)
treed2fcc74cff2c1c1ff478c189a5bc5cafc79d4509 /sys/vm/vm_object.h
parent9e3e7670a88869e7b562b5608cd584c56c3a6517 (diff)
downloadFreeBSD-src-f883ef447af57985b21cde8cd13232ca845190a4.zip
FreeBSD-src-f883ef447af57985b21cde8cd13232ca845190a4.tar.gz
Implement kern.maxvnodes. adjusting kern.maxvnodes now actually has a
real effect. Optimize vfs_msync(). Avoid having to continually drop and re-obtain mutexes when scanning the vnode list. Improves looping case by 500%. Optimize ffs_sync(). Avoid having to continually drop and re-obtain mutexes when scanning the vnode list. This makes a couple of assumptions, which I believe are ok, in regards to vnode stability when the mount list mutex is held. Improves looping case by 500%. (more optimization work is needed on top of these fixes) MFC after: 1 week
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index c126cb6..1256e85 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -184,6 +184,7 @@ void vm_object_collapse (vm_object_t);
void vm_object_deallocate (vm_object_t);
void vm_object_terminate (vm_object_t);
void vm_object_vndeallocate (vm_object_t);
+void vm_object_set_writeable_dirty (vm_object_t);
void vm_object_init (void);
void vm_object_page_clean (vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t);
void vm_object_page_remove (vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t);
OpenPOWER on IntegriCloud