Date: Tue, 25 Feb 2003 07:19:01 +0100 From: phk@phk.freebsd.dk To: "M. Warner Losh" <imp@bsdimp.com> Cc: arch@FreeBSD.ORG Subject: Re: Fw: Proposed new sysctl MIB nodes Message-ID: <12094.1046153941@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 24 Feb 2003 17:47:42 MST." <20030224.174742.21056478.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030224.174742.21056478.imp@bsdimp.com>, "M. Warner Losh" writes: >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). Makes sense I think. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12094.1046153941>