https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188911
--- Comment #7 from commit-hook@freebsd.org ---
A commit references this bug:
Author: kib
Date: Wed Jul 9 19:11:57 UTC 2014
New revision: 268466
URL: http://svnweb.freebsd.org/changeset/base/268466
Log:
Current code in sysctl proc.vmmap, which intent is to calculate the
amount of resident pages, in fact calculates the amount of installed
pte entries in the region. Resident pages which were not soft-faulted
yet are not counted.
Calculate the amount of resident pages by looking in the objects chain
backing the region.
Add a knob to disable the residency calculation at all. For large
sparce regions, either previous or updated algorithm runs for too long
time, while several introspection tools do not need the (advisory) RSS
value at all.
PR: kern/188911
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Changes:
head/sys/kern/kern_proc.c
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"