View | Details | Raw Unified | Return to bug 210904
Collapse All | Expand All

(-)lib/libutil/kinfo_getvmmap.3 (+7 lines)
Lines 58-63 Link Here
58
mib.
58
mib.
59
While the kernel returns a packed structure, this function expands the
59
While the kernel returns a packed structure, this function expands the
60
data into a fixed record format.
60
data into a fixed record format.
61
.Sh CAVEAT
62
.Fn kinfo_getvmmap
63
calls can cause significant CPU consumption due to the residency count
64
calculation which requires the iteration over all memory pages of the
65
process. Setting the sysctl variable
66
.Va kern.proc_vmmap_skip_resident_count
67
to 1 prevents this calculation.
61
.Sh RETURN VALUES
68
.Sh RETURN VALUES
62
On success the
69
On success the
63
.Fn kinfo_getvmmap
70
.Fn kinfo_getvmmap

Return to bug 210904