procps/proc
Craig Small 602b9a02ce free: use SReclaimable in cached
The previous commit added all of slab into the cache value. The
thing was is cached in this context is something you can get
back and reclaim if under memory pressure.

The problem was slab parameter includes both reclaimable and
unreclaimable values which doesn't make sense in this context.
This commit make cached only use the reclaimable component.

References:
 http://www.freelists.org/post/procps/OmegaPhilxxxxxxxxxxxxx-Bug799716-free-considers-cached-to-include-SUnreclaim
 https://github.com/brndnmtthws/conky/issues/130
 https://bugs.debian.org/799716

Commits:
 05d751c4f0
 6cb75efef8
2015-10-24 14:29:25 +11:00
..
.gitignore
alloc.c
alloc.h
COPYING
devname.c
devname.h
diskstat.c
diskstat.h
escape.c
escape.h
libprocps.pc.in
libprocps.sym library: rename the 'procps_pids_stacks_sort' function 2015-10-14 21:47:04 +11:00
meminfo.c free: use SReclaimable in cached 2015-10-24 14:29:25 +11:00
meminfo.h
namespace.c
namespace.h
openproc.3
pids.c library: allow duplicated results for <pids> interface 2015-10-14 21:50:31 +11:00
pids.h library: added PROCPS_PIDS_CGNAME for <pids> interface 2015-10-14 21:48:41 +11:00
procps-private.h
procps.h
pwcache.c
pwcache.h
readproc.3
readproc.c
readproc.h
readproctab.3
readstat.c
readstat.h
slab.c
slab.h
sysinfo.c
sysinfo.h
test_namespace.c
test_sysinfo.c
uptime.c
uptime.h
version.c
version.h
vmstat.c
vmstat.h
wchan.c
wchan.h