• David CARLIER's avatar
    zmalloc_get_rss netbsd impl fix proposal. (#10116) · 4a59230d
    David CARLIER authored
    Seems like the previous implementation was broken (always returning 0)
    
    since kinfo_proc2 is used the KERN_PROC2 sysctl oid is more appropriate
    and also the query's length was not necessarily accurate (6 here).
    
    (cherry picked from commit 50fa627b)
    4a59230d
zmalloc.c 20.6 KB