Linux: handle hugepages

Subtract hugepages from normal memory.
Add a HugePageMeter.

Closes: #447
This commit is contained in:
Christian Göttsche
2021-01-05 15:50:23 +01:00
committed by cgzones
parent 71f51a20c1
commit 4d85848988
6 changed files with 138 additions and 2 deletions

View File

@ -72,6 +72,9 @@ typedef struct LinuxProcessList_ {
int netlink_family;
#endif
unsigned long long int totalHugePageMem;
unsigned long long int freeHugePageMem;
ZfsArcStats zfs;
ZramStats zram;
} LinuxProcessList;