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. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"