K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-11-03T19:59:28.000000Z K 7 svn:log V 712 MFC implement kern.maxvnodes (primarily kern/vfs_subr.c 1.326), sync, and other VM optimizations and fixes. * Add VOBJDIRTY flag to vnode to avoid certain indirections. * Turn the mount structure vnode list into an LRU queue (LIST -> TAILQ) * Attempt to reuse vnodes when we hit the maxvnodes limit * Optimize msync() to avoid unnecessary v_interlocks * Optimize ffs_sync() for same * Fix vm_object double-termination bug * Add KASSERT to ensure that backing object is not freed out from under remaining VM pages. These fixes change the mount structure and will create a binary kld module incompatibility with filesystem kld's, but I deem the scaling issues with 4.x that we are fixing to be more important. END