diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-05 15:50:23 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-01-19 18:06:48 +0100 |
commit | 4d85848988d8d4e7b2dc64e6600b099171e5b803 (patch) | |
tree | b2970454f078fe57536cf2ebc8bb6ba32bd092a1 /linux/LinuxProcessList.h | |
parent | 71f51a20c1f7aa94f8e8c0012448c05c465cfc01 (diff) |
Linux: handle hugepages
Subtract hugepages from normal memory.
Add a HugePageMeter.
Closes: #447
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r-- | linux/LinuxProcessList.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h index 09b84afa..b34810bb 100644 --- a/linux/LinuxProcessList.h +++ b/linux/LinuxProcessList.h @@ -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; |