From owner-freebsd-arch Mon Feb 24 16:59:21 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 D40A637B401 for ; Mon, 24 Feb 2003 16:59:20 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7B6443FBF for ; Mon, 24 Feb 2003 16:59:19 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1P0xC1o044875; Mon, 24 Feb 2003 16:59:12 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1P0xCWk001613; Mon, 24 Feb 2003 16:59:12 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1P0xCx8001612; Mon, 24 Feb 2003 16:59:12 -0800 (PST) (envelope-from marcel) Date: Mon, 24 Feb 2003 16:59:12 -0800 From: Marcel Moolenaar To: "M. Warner Losh" Cc: arch@FreeBSD.ORG Subject: Re: Fw: Proposed new sysctl MIB nodes Message-ID: <20030225005912.GA1583@athlon.pn.xcllnt.net> References: <20030224.174742.21056478.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030224.174742.21056478.imp@bsdimp.com> User-Agent: Mutt/1.5.3i 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 On Mon, Feb 24, 2003 at 05:47:42PM -0700, M. Warner Losh wrote: > > From: Jason R Thorpe > > 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). What's the reason to not use a 64-bit entity whether it represents bytes or pages? Or to be more presice, an integral entity that can be used to cast to from a pointer without data loss? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message