From: "Mike Black" <mblack@csihq.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Subject: Odd meminfo 2.4.14
Date: Wed, 14 Nov 2001 07:46:53 -0500 [thread overview]
Message-ID: <041101c16d0a$703c8700$e1de11cc@csihq.com> (raw)
On 2.4.14 (upgraded from 2.4.10) first time I've seen this (I run vmstat all
the time).
total: used: free: shared: buffers: cached:
Mem: 526016512 519815168 6201344 0 653324288 18446744073256501248
Swap: 524279808 68616192 455663616
MemTotal: 513688 kB
MemFree: 6056 kB
MemShared: 0 kB
Buffers: 638012 kB
Cached: 4294515120 kB
SwapCached: 9744 kB
Active: 61300 kB
Inactive: 143752 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 513688 kB
LowFree: 6056 kB
SwapTotal: 511992 kB
SwapFree: 444984 kB
I've got this exact same kernel on two other machines and they don't show
the funky cache #'s (yet).
I see in proc_misc.c that cache is printed with B(pg_size) in the first line
whereas it's printed with K(pg_size - swapper_space.nrpages) on the
"Cached:" line.
Both of them are wrong so it looks like pg_size is hosed somehow.
Also...pg_size is:
pg_size = atomic_read(&page_cache_size) - i.bufferram ;
What does pg_size have to do with bufferram????
________________________________________
Michael D. Black Principal Engineer
mblack@csihq.com 321-676-2923,x203
http://www.csihq.com Computer Science Innovations
http://www.csihq.com/~mike My home page
FAX 321-676-2355
reply other threads:[~2001-11-14 12:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='041101c16d0a$703c8700$e1de11cc@csihq.com' \
--to=mblack@csihq.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®