Re: Proposed new sysctl MIB nodes

Simon Burge <simonb-DZEk9q7Sfju/3pe1ocb+swC/[email protected]> Fri, 28 Feb 2003 00:10:15 +1100
Newsgroups gmane.os.bsd.api.general
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
[ Sorry to chime in late ]

Jason R Thorpe wrote:

> On Mon, Feb 24, 2003 at 07:21:44PM -0500, Perry E. Metzger wrote:
> 
>  > > I'd like to propose new HW_PHYSPAGES and HW_USERPAGES MIB nodes that
>  > > return the same information, but in a 32-bit page count, instead.  The
>  > > implementation is left as an exercise to the reader.  I just want to get
>  > > consensus on the names, so that I can tell the GCC people about it, and
>  > > have it work on all the BSD platforms (as their current sysctl code does).
>  > 
>  > How about simply having a total memory count in quads instead? That
>  > way we won't run out when we pass 2^48 or 49th bytes in 10 or 15
>  > years.
> 
> Ok, a u_quad (page count) it is.

A quad for page count or total bytes?

Note also that the sysctl interface is signed quads only.

Simon.
--
Simon Burge                            <simonb-DZEk9q7Sfju/3pe1ocb+swC/[email protected]>
NetBSD Support and Service:         http://www.wasabisystems.com/

---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/[email protected]