K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-01-31T18:51:48.000000Z K 7 svn:log V 799 MFC new vlrureclaim trigger-point code. vlrureclaim()'s purpose in life is to maintain kern.maxvnodes, not to try to free memory. In fact, the reclaim code is generally called when there is lots of memory available but the system has too many vnodes. So we can safely skip vnodes which still have a large number of resident pages present and thereby avoid unnecessary flushes (e.g. for Yahoo, potentially nasty flushes of MAP_NOSYNC pages). We calculate a resident count that guarentees we will still be able to locate enough vnodes to reclaim to satisfy kern.maxvnodes. MFC new vlruvp() procedure, which is currently a NOP. We will be able to utilize this procedure after we've cleaned up the filesystem SYNCing code. Right now SYNC becomes wildly inefficient if the vlruvp() code is enabled. END