MFC: Add 'CACHING' section to kvm_getpcpu.3.

This commit is contained in:
John Baldwin 2008-08-26 18:00:53 +00:00
parent 25c6fdad22
commit b3d7effa69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/7/; revision=182205

View File

@ -71,6 +71,14 @@ If
is not active, then
.Dv NULL
is returned instead.
.Sh CACHING
These functions cache the nlist values for various kernel variables which are
reused in successive calls.
You may call either function with
.Fa kd
set to
.Dv NULL
to clear this cache.
.Sh RETURN VALUES
On success, the
.Fn kvm_getmaxcpu