Loading...
--- libmalloc/libmalloc-317.100.9/src/thresholds.h
+++ libmalloc/libmalloc-374.40.6/src/thresholds.h
@@ -96,6 +96,7 @@
#define MEDIUM_CONDITIONAL_MADVISE_LIMIT (2 * 1024 * 1024)
#define MEDIUM_MADVISE_SHIFT 4
#define MEDIUM_MADVISE_MIN ((3 * 1024 * 1024) / 2) // 1.5 megabytes
+#define MEDIUM_MADVISE_DRAM_SCALE_DIVISOR (128ull * 1024 * 1024 * 1024) // 128GB
/*
* When performing a realloc() that must fallback to creating a new allocation