Proposed new sysctl MIB nodes

Jason R Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/[email protected]> Mon, 24 Feb 2003 15:59:26 -0800
Newsgroups gmane.os.bsd.api.general
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
The GCC folks have recently started using the HW_PHYSMEM and HW_USERMEM
sysctl MIB nodes to tune the behavior of the garbage collecting memory
allocator in GCC.  It was pointed out there that these totally fall over
with >=4G of RAM, since it's a 32-bit quantity that returns the number
of bytes.

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).

-- 
        -- Jason R. Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/[email protected]>

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