Date: Wed, 09 Jul 2014 19:12:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 188911] [kern] sysctl(KERN_PROC_VMMAP) takes too long Message-ID: <bug-188911-8-WFoPCVq7Zq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-188911-8@https.bugs.freebsd.org/bugzilla/> References: <bug-188911-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-188911-8-WFoPCVq7Zq>