Blame SOURCES/procps-ng-3.3.10-free-counts-unreclaim-slabs-in-avail-mem.patch

434353
diff -up ./free.1.ori ./free.1
434353
--- ./free.1.ori	2019-04-12 13:28:22.255295567 +0200
434353
+++ ./free.1	2019-04-12 13:29:00.666768897 +0200
434353
@@ -32,7 +32,7 @@ kernels 2.6.32, displayed as zero if not
434353
 Memory used by kernel buffers (Buffers in /proc/meminfo)
434353
 .TP
434353
 \fBcache\fR
434353
-Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo)
434353
+Memory used by the page cache and slabs (Cached and SReclaimable in /proc/meminfo)
434353
 .TP
434353
 \fBbuff/cache\fR
434353
 Sum of \fBbuffers\fR and \fBcache\fR
434353
diff -up ./proc/sysinfo.c.ori ./proc/sysinfo.c
434353
--- ./proc/sysinfo.c.ori	2019-04-12 13:28:22.241295394 +0200
434353
+++ ./proc/sysinfo.c	2019-04-12 13:29:00.668768921 +0200
434353
@@ -758,7 +758,7 @@ nextline:
434353
   if(kb_inactive==~0UL){
434353
     kb_inactive = kb_inact_dirty + kb_inact_clean + kb_inact_laundry;
434353
   }
434353
-  kb_main_cached = kb_page_cache + kb_slab;
434353
+  kb_main_cached = kb_page_cache + kb_slab_reclaimable;
434353
   kb_swap_used = kb_swap_total - kb_swap_free;
434353
   kb_main_used = kb_main_total - kb_main_free - kb_main_cached - kb_main_buffers;
434353