svn commit: r278760 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Sat Feb 14 18:18:06 UTC 2015


On Sat, Feb 14, 2015 at 05:02:51PM +0000, John Baldwin wrote:
J> Author: jhb
J> Date: Sat Feb 14 17:02:51 2015
J> New Revision: 278760
J> URL: https://svnweb.freebsd.org/changeset/base/278760
J> 
J> Log:
J>   Add two new counters for vnode life cycle events:
J>   - vfs.recycles counts the number of vnodes forcefully recycled to avoid
J>     exceeding kern.maxvnodes.
J>   - vfs.vnodes_created counts the number of vnodes created by successful
J>     calls to getnewvnode().
J>   
J>   Differential Revision:	https://reviews.freebsd.org/D1671
J>   Reviewed by:	kib
J>   MFC after:	1 week

Why don't use counter(9) for that? Would avoid atomics.


-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list