From owner-freebsd-arch Tue Oct 29 23:56:35 2002 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 3690C37B401 for ; Tue, 29 Oct 2002 23:56:34 -0800 (PST) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB8B243E3B for ; Tue, 29 Oct 2002 23:56:33 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0273.cvx21-bradley.dialup.earthlink.net ([209.179.193.18] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 186niJ-00000D-00; Tue, 29 Oct 2002 23:56:31 -0800 Message-ID: <3DBF9061.D583C481@mindspring.com> Date: Tue, 29 Oct 2002 23:55:13 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: arch@freebsd.org Subject: Re: "MB" instead of "K bytes" in memory probe? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Dag-Erling Smorgrav wrote: > The attached patch replaces the "K bytes" figure in the memory probe > ("{real,avail} memory = XXX") with a MB figure. Before-and-after from > /var/log/messages: > > Oct 21 22:44:21 dsa kernel: real memory = 266493952 (260248K bytes) > Oct 21 22:44:21 dsa kernel: avail memory = 253214720 (247280K bytes) > Oct 29 15:55:18 dsa kernel: real memory = 266493952 (254 MB) > Oct 29 15:55:18 dsa kernel: avail memory = 251641856 (239 MB) > > Not a big thing, but I find the last two lines far easier to read than > the first two. Any objections to committing this patch? It's kind of annoying that the KVA gets subtracted out up front; I'm pretty sure that you don't have 254MB of SIMMs... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message