Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 23:55:13 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        arch@freebsd.org
Subject:   Re: "MB" instead of "K bytes" in memory probe?
Message-ID:  <3DBF9061.D583C481@mindspring.com>
References:  <xzpiszk4k1e.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBF9061.D583C481>