library: MemAvailable fallback now uses /proc/meminfo

Taking the values from /proc/vmstat was unnecessary
and prone to race conditions.
This commit is contained in:
Jaromir Capik
2014-07-29 20:56:20 +02:00
parent 784c6eda1c
commit 3f3b1a59ad
3 changed files with 19 additions and 19 deletions

View File

@@ -33,8 +33,6 @@ global:
kb_main_shared;
kb_main_total;
kb_main_used;
kb_slab_reclaimable;
kb_slab_unreclaimable;
kb_swap_free;
kb_swap_total;
kb_swap_used;