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 library: rework namespace calls 2015-09-03 22:32:19 +10:00
alloc.c pmap: use correct types for memory allocation 2012-11-06 22:22:11 +11:00
alloc.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
COPYING miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
devname.c library: Remove tty_to_dev() 2015-09-01 20:41:25 +10:00
devname.h library: Remove tty_to_dev() 2015-09-01 20:41:25 +10:00
diskstat.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
diskstat.h library: Update diskstat API 2015-07-07 22:42:06 +10:00
escape.c miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
escape.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
libprocps.pc.in Renaming libprocfs to libprocps 2011-12-23 09:18:43 +11:00
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 library: meminfo redesigned to use 'stack' vs. 'chain' 2015-07-23 22:31:24 +10:00
namespace.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
namespace.h library: rework namespace calls 2015-09-03 22:32:19 +10:00
openproc.3 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +10:00
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 library: Change linux version 2015-06-19 21:00:46 +10:00
procps.h library: abandon long/long long distinction with KLONG 2015-09-21 22:37:02 +10:00
pwcache.c library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
pwcache.h library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
readproc.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readproc.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
readproc.h library: ensure any 'flags' is consistently 'unsigned' 2015-09-07 18:11:48 +10:00
readproctab.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readstat.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
readstat.h library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.h library: eliminate extra stack header space provisions 2015-07-23 22:31:50 +10:00
sysinfo.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
sysinfo.h library: Update diskstat API 2015-07-07 22:42:06 +10:00
test_namespace.c miscellaneous: cleanup accumulated trailing whitespace 2015-09-21 22:33:50 +10:00
test_sysinfo.c library: tests for sysinfo 2015-07-20 22:23:21 +10:00
uptime.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
uptime.h library: Update uptime calls to standard format 2015-06-29 22:09:59 +10:00
version.c miscellaneous: remove some trailing whitespace buildup 2015-06-20 07:46:23 +10:00
version.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
vmstat.c library: vmstat redesign now using 'stack' vs. 'chain' 2015-07-23 22:31:44 +10:00
vmstat.h library: vmstat redesign now using 'stack' vs. 'chain' 2015-07-23 22:31:44 +10:00
wchan.c library: refactor and rely on modern kernels for wchan 2015-06-19 19:09:20 +10:00
wchan.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00