From owner-freebsd-arch Mon Feb 24 22:19:26 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78D0F37B401 for ; Mon, 24 Feb 2003 22:19:25 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9447643FBF for ; Mon, 24 Feb 2003 22:19:12 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1P6J1Ev012095; Tue, 25 Feb 2003 07:19:07 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: "M. Warner Losh" Cc: arch@FreeBSD.ORG Subject: Re: Fw: Proposed new sysctl MIB nodes From: phk@phk.freebsd.dk In-Reply-To: Your message of "Mon, 24 Feb 2003 17:47:42 MST." <20030224.174742.21056478.imp@bsdimp.com> Date: Tue, 25 Feb 2003 07:19:01 +0100 Message-ID: <12094.1046153941@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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