Linux: individual huge page values in the huge page meter

This commit is contained in:
David Zarzycki
2021-01-14 09:46:37 -05:00
committed by cgzones
parent 4d85848988
commit 03824da684
5 changed files with 83 additions and 10 deletions

View File

@ -18,6 +18,8 @@ in the source distribution for its full text.
#include "ZramStats.h"
#include "zfs/ZfsArcStats.h"
#define HTOP_HUGEPAGE_BASE_SHIFT 16
#define HTOP_HUGEPAGE_COUNT 24
typedef struct CPUData_ {
unsigned long long int totalTime;
@ -73,7 +75,7 @@ typedef struct LinuxProcessList_ {
#endif
unsigned long long int totalHugePageMem;
unsigned long long int freeHugePageMem;
unsigned long long int usedHugePageMem[HTOP_HUGEPAGE_COUNT];
ZfsArcStats zfs;
ZramStats zram;