Source: procps
Version: 3.3.4-2
Severity: wishlist

I see you are admin of the gitorious tree, so I am sending
patch directly to you ...

The part of Documentation/filesystems/proc.txt:

SReclaimable: Part of Slab, that might be reclaimed, such as caches
  SUnreclaim: Part of Slab, that cannot be reclaimed on memory pressure

Many thanks for your time.

diff --git a/proc/sysinfo.c b/proc/sysinfo.c
index a0c3eb5..7847446 100644
--- a/proc/sysinfo.c
+++ b/proc/sysinfo.c
@@ -596,8 +596,8 @@ static unsigned long kb_anon_pages;
 static unsigned long kb_bounce;
 static unsigned long kb_commit_limit;
 static unsigned long kb_nfs_unstable;
-static unsigned long kb_swap_reclaimable;
-static unsigned long kb_swap_unreclaimable;
+static unsigned long kb_slab_reclaimable;
+static unsigned long kb_slab_unreclaimable;
 
 void meminfo(void){
   char namebuf[16]; /* big enough to hold any row name */
@@ -630,8 +630,8 @@ void meminfo(void){
   {"NFS_Unstable", &kb_nfs_unstable},
   {"PageTables",   &kb_pagetables},   // kB version of vmstat 
nr_page_table_pages
   {"ReverseMaps",  &nr_reversemaps},  // same as vmstat nr_page_table_pages
-  {"SReclaimable", &kb_swap_reclaimable}, // "swap reclaimable" (dentry and 
inode structures)
-  {"SUnreclaim",   &kb_swap_unreclaimable},
+  {"SReclaimable", &kb_slab_reclaimable}, // "slab reclaimable" (dentry and 
inode structures)
+  {"SUnreclaim",   &kb_slab_unreclaimable},
   {"Slab",         &kb_slab},         // kB version of vmstat nr_slab
   {"SwapCached",   &kb_swap_cached},
   {"SwapFree",     &kb_swap_free},    // important

-- 
Milan Kocian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to