top: exclude reclaimable slabs from used

This commit is contained in:
Jaromir Capik 2014-07-22 14:07:45 +02:00
parent cdc95efe74
commit cbba7ad7a7

View File

@ -5226,7 +5226,11 @@ numa_nope:
scaletab[4].label = N_txt(AMT_petabyte_txt);
scaletab[5].label = N_txt(AMT_exxabyte_txt);
}
#ifdef MEMGRAPH_OLD
kb_main_my_misc = kb_main_buffers + kb_main_cached;
#else
kb_main_my_misc = kb_main_buffers + kb_main_cached + kb_slab_reclaimable;
#endif
kb_main_my_used = kb_main_used - kb_main_my_misc;
if (w->rc.graph_mems) {