Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: syssrc/sys/kern
Module Name: syssrc
Committed By: thorpej
Date: Tue Jun 26 22:52:04 UTC 2001
Modified Files:
syssrc/sys/kern: vfs_subr.c
Log Message:
In getnewvnode(), allocate a vnode from the pool with NOWAIT. If
that fails, just try to recycle a vnode. If we can't allocate or
recycle, issue a warning, sleep a bit, and try the whole thing
again.
This prevents us from blocking forever if we want to use a very large
number of vnodes, but don't have {memory,kva} resources from which to
allocate them.
To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 syssrc/sys/kern/vfs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index