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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user