NetBSD/usr.sbin/pstat
apb f950d3cf71 The number of active vnodes may grow in between the sysctl call
that figures out the size, and the sysctl call that fetches the data.

Previously, any growth at all would have resulted in this error message:

        pstat: sysctl: KERN_VNODE: Cannot allocate memory

Now allow for growth of 100 vnodes, or 5%, or both.  Growth in
excess of 2% or 6000 vnodes has been observed in practice.  Also
ignore ENOMEM from the second sysctl call, in case the growth was
even more than we anticipated.
2012-11-10 11:01:52 +00:00
..
Makefile
pstat.8
pstat.c The number of active vnodes may grow in between the sysctl call 2012-11-10 11:01:52 +00:00