Jason R Thorpe
2003-02-24 23:59:26 UTC
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).
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/***@public.gmane.org>
---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/***@public.gmane.org
-- Jason R. Thorpe <thorpej-DZEk9q7Sfju/3pe1ocb+swC/***@public.gmane.org>
---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/***@public.gmane.org