mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Odd meminfo 2.4.14
@ 2001-11-14 12:46 Mike Black
  0 siblings, 0 replies; only message in thread
From: Mike Black @ 2001-11-14 12:46 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-14 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-14 12:46 Odd meminfo 2.4.14 Mike Black

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®