Skip to contentSkip to conversation

update /proc/meminfo Buffers documentation

PATCH New Dave Hansen 1 participant 1 message Jul 13, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update /proc/meminfo Buffers documentation

The filesystems/proc.txt meminfo documentation is a wee bit inaccurate with respect to buffers. They can get a bit bigger than 20MB, and I have proof ;). I copied a description that Badari gave me on IRC for this patch.

$ cat /proc/meminfo
MemTotal:     16375148 kB
MemFree:       9372524 kB
Buffers:        818276 kB
Cached:        4923044 kB
SwapCached:          0 kB
Active:        3517596 kB
Inactive:      2437724 kB
HighTotal:    14548952 kB
HighFree:      9355304 kB
LowTotal:      1826196 kB
LowFree:         17220 kB
SwapTotal:    32611940 kB
SwapFree:     32610724 kB
Dirty:            5932 kB
Writeback:           0 kB
Mapped:         231172 kB
Slab:           977396 kB
CommitLimit:  40799512 kB
Committed_AS:  1373664 kB
PageTables:       7412 kB
VmallocTotal:   116728 kB
VmallocUsed:     16408 kB
VmallocChunk:   100104 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB

---

 lxc-dave/Documentation/filesystems/proc.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Documentation/filesystems/proc.txt renamed from Documentation/filesystems/proc.txt~update-meminfo-documentation +3 -2
diff -puN Documentation/filesystems/proc.txt~update-meminfo-documentation Documentation/filesystems/proc.txt
@@ -389,8 +389,9 @@ VmallocChunk:   111088 kB
     MemTotal: Total usable ram (i.e. physical ram minus a few reserved
               bits and the kernel binary code)
      MemFree: The sum of LowFree+HighFree
-     Buffers: Relatively temporary storage for raw disk blocks
-              shouldn't get tremendously large (20MB or so)
+     Buffers: Relatively temporary storage for raw disk blocks.  Also
+	      used for caching filesystem metadata (like directories,
+	      indirect blocks, inode maps, block maps etc..).
       Cached: in-memory cache for files read from the disk (the
               pagecache).  Doesn't include SwapCached
   SwapCached: Memory that once was swapped out, is swapped back in but

_

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>