procps/proc
Jim Warner 2184e90d2e library: modify calculation of 'MEMINFO_MEM_USED' item
In an effort to more accurately reflect 'used' memory,
we will now rely on the kernel's estimate of available
memory. Thus, 'MEMINFO_MEM_USED' will be calculated as
just 'MEMINFO_MEM_TOTAL' less 'MEMINFO_MEM_AVAILABLE'.

Reference(s):
. thread leading to agreed upon change
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory
. where consensus reached
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory,11
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory,12

Signed-off-by: Jim Warner <james.warner@comcast.net>
2022-06-25 11:32:18 +10:00
..
.gitignore build-sys: added a 'test_Itemtables' to testing scheme 2020-08-17 21:49:14 +10:00
COPYING
devname.c library: cygwin fixes for devname 2022-05-03 20:33:44 +10:00
devname.h
diskstats.c misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
diskstats.h misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
escape.c library: eliminate those warnings for '-Wpointer-sign' 2022-01-07 19:19:15 +11:00
escape.h library: eliminate those warnings for '-Wpointer-sign' 2022-01-07 19:19:15 +11:00
libproc-2.pc.in library: Rename to libproc-2 2021-02-20 22:30:31 +11:00
libproc-2.sym library: Rename to libproc-2 2021-02-20 22:30:31 +11:00
meminfo.c library: modify calculation of 'MEMINFO_MEM_USED' item 2022-06-25 11:32:18 +10:00
meminfo.h library: modify calculation of 'MEMINFO_MEM_USED' item 2022-06-25 11:32:18 +10:00
misc.h library: bring namespaces up to date with linux kernel 2022-05-09 18:44:21 +10:00
namespace.c library: bring namespaces up to date with linux kernel 2022-05-09 18:44:21 +10:00
numa.c misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
numa.h misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
pids.c library: bring namespaces up to date with linux kernel 2022-05-09 18:44:21 +10:00
pids.h library: bring namespaces up to date with linux kernel 2022-05-09 18:44:21 +10:00
procps-private.h library: eliminate unused 'FUNCTION' in private header 2020-09-13 10:00:49 +10:00
pwcache.c library: extend thread safety to more static variables 2021-10-25 21:51:18 +11:00
pwcache.h
readproc.c library: eliminate insidious 'LIBPROC_HIDE_KERNEL' bug 2022-05-03 19:21:21 +10:00
readproc.h library: bring namespaces up to date with linux kernel 2022-05-09 18:44:21 +10:00
slabinfo.c misc: fixed several inconsistencies in email addresses 2022-01-08 07:15:59 +11:00
slabinfo.h misc: fixed several inconsistencies in email addresses 2022-01-08 07:15:59 +11:00
stat.c library: Cygwin only has 4 cpu numbers 2022-05-26 17:53:43 +10:00
stat.h misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
sysinfo.c library: Close filehandle for procps_loadavg 2022-06-02 16:36:40 +10:00
test_Itemtables.c build-sys: proper fix for the 'test_Itemtables' module 2020-08-18 10:19:53 +10:00
test_namespace.c all: make buildable again for new 'misc.h' header file 2021-01-21 17:30:25 +11:00
test_pids.c testsuite: Correct include 2020-07-05 21:18:36 +10:00
test_sysinfo.c all: make buildable again for new 'misc.h' header file 2021-01-21 17:30:25 +11:00
test_uptime.c misc: Update Craig's email 2021-01-21 17:37:48 +11:00
test_version.c misc: Update Craig's email 2021-01-21 17:37:48 +11:00
uptime.c library: silence the clang warning for 'uptime' module 2022-05-20 16:23:20 +10:00
version.c p/version.c: osrelease for Cygwin 2022-04-11 17:30:25 +10:00
vmstat.c library: at unref, close these cached file descriptors 2022-06-05 21:11:38 +10:00
vmstat.h misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00
wchan.c library: ensure thread safety for all static variables 2021-10-02 12:55:31 +10:00
wchan.h library: standardize 'pointer-to-thing' whitespace use 2021-07-27 21:17:18 +10:00
xtra-procps-debug.h misc: amend the man page & source file copyright dates 2022-01-07 19:19:15 +11:00