Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2017 13:23:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224532] Remove resident count from procfs map
Message-ID:  <bug-224532-8-TTiyDsaamE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224532-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224532-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=3D224532

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kib
Date: Thu Dec 28 13:23:13 UTC 2017
New revision: 327286
URL: https://svnweb.freebsd.org/changeset/base/327286

Log:
  Reuse kern_proc_vmmap_resident() for procfs_map resident count.

  The existing algorithm in procfs_map() to calculate count of resident
  pages in an entry is too primitive, resulting in too long run time for
  large sparse mapping entries.  Re-use the kern_proc_vmmap_resident()
  from kern_proc.c which only looks at the existing pages in the
  iterations.

  Also, this makes procfs to honor kern.proc_vmmap_skip_resident_count,
  if user does not need this information.

  Reported by:  Glenn Weinberg <glenn.weinberg@intel.com>
  PR:   224532
  No objections from:   des (procfs maintainer)
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week
  Differential revision:        https://reviews.freebsd.org/D13595

Changes:
  head/sys/fs/procfs/procfs_map.c

--=20
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-224532-8-TTiyDsaamE>