summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-08-26 18:00:53 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-08-26 18:00:53 +0000
commitb3d7effa6926b0315367b5dacb19f93b1f5ae06d (patch)
tree583c7b4cdad116c65adb29686cf9eb4c27c9a365
parent25c6fdad22ad2a0118afa3405f8681ecc0cf86a1 (diff)
Notes
-rw-r--r--lib/libkvm/kvm_getpcpu.38
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_getpcpu.3 b/lib/libkvm/kvm_getpcpu.3
index 87cd139ca69f..40f16ac7e53c 100644
--- a/lib/libkvm/kvm_getpcpu.3
+++ b/lib/libkvm/kvm_getpcpu.3
@@ -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