Subject: kern/12748: pmap(9) is wrong about pmap_{wired,resident}_count
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 04/25/2001 13:36:56
>Number:         12748
>Category:       kern
>Synopsis:       pmap(9) is wrong about pmap_{wired,resident}_count
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 05:37:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ben Harris
>Release:        2001-04-23
>Organization:
>Environment:

>Description:

     long pmap_resident_count(pmap_t pmap)
             Note that this function may be provided as a C pre-processor
             macro.

     long pmap_wired_count(pmap_t pmap)
             Note that this function may be provided as a C pre-processor
             macro.

As far as I can tell, these _must_ be preprocessor macros, since the only
calls to them in UVM are in #ifdefs of the relevant macros.

>How-To-Repeat:

cd /usr/src/sys/uvm
grep pmap_wired_count *
grep pmap_resident_count *

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: