]> granicus.if.org Git - procps-ng/commit
library: MemAvailable fallback now uses /proc/meminfo
authorJaromir Capik <jcapik@redhat.com>
Tue, 29 Jul 2014 18:56:20 +0000 (20:56 +0200)
committerJaromir Capik <jcapik@redhat.com>
Thu, 31 Jul 2014 13:10:42 +0000 (15:10 +0200)
commit3f3b1a59ada85d21f34530cfb1dc1c0afd70e6dc
tree6d56a174604c217f32875659cda92047c5bd5152
parent784c6eda1c0da81c6b70f860768b984b9a731a6e
library: MemAvailable fallback now uses /proc/meminfo

Taking the values from /proc/vmstat was unnecessary
and prone to race conditions.
proc/libprocps.sym
proc/sysinfo.c
proc/sysinfo.h