git: kernel - Cleanup vfs_lock & ref-count states states (2)
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Oct 22 09:28:35 PDT 2013
commit cb3297fb725f5144dbef8f4e961a57e5c94df96a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Oct 22 09:23:48 2013 -0700
kernel - Cleanup vfs_lock & ref-count states states (2)
* Adjust trigger points such that under normal operation vnlru_proc()
handles cleaning up extra vnodes. If this is not sufficient then
the synchronous cleanup code will kick in at higher levels.
* Adjust vnode->v_act handling and try to take into account vnodes
with large memory objects (which we would rather reclaim later and
not sooner). This takes over functionality from vlru_reclaim().
* Remove the vlrureclaim() mount-scanning infrastructure. vnlru_proc()
now just calls freesomevnodes(). This should now be sufficient. This
removes significant locking overheads during steady-state operation.
Summary of changes:
sys/kern/vfs_lock.c | 113 +++++++++----------
sys/kern/vfs_mount.c | 298 ++-------------------------------------------------
sys/kern/vfs_subr.c | 6 ++
3 files changed, 74 insertions(+), 343 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb3297fb725f5144dbef8f4e961a57e5c94df96a
--
DragonFly BSD source repository
More information about the Commits
mailing list