git: procfs - don't try to count rss

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 25 11:20:30 PST 2017


commit 558bda99c446fb3460e4102e5946bd3f198d0c5e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 25 08:11:04 2017 -0800

    procfs - don't try to count rss
    
    * Don't try to count rss.  Scanning individual pages for a 64-bit
      mapping can take forever (literally!).
    
    * Fixes problems accessing /proc/*/map for vkernel processes.

Summary of changes:
 sys/vfs/procfs/procfs_map.c | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/558bda99c446fb3460e4102e5946bd3f198d0c5e


-- 
DragonFly BSD source repository



More information about the Commits mailing list