Date: Mon, 24 Feb 2003 16:59:12 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: "M. Warner Losh" <imp@bsdimp.com> Cc: arch@FreeBSD.ORG Subject: Re: Fw: Proposed new sysctl MIB nodes Message-ID: <20030225005912.GA1583@athlon.pn.xcllnt.net> In-Reply-To: <20030224.174742.21056478.imp@bsdimp.com> References: <20030224.174742.21056478.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 24, 2003 at 05:47:42PM -0700, M. Warner Losh wrote: > > From: Jason R Thorpe <thorpej@wasabisystems.com> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225005912.GA1583>