As per the discussion on internals, this is an expert feature
that needs special system-level configuration and care.
#endif
#ifdef MAP_HUGETLB
-int zend_mm_use_huge_pages = 1;
+int zend_mm_use_huge_pages = 0;
#endif
/*
#endif
#ifdef MAP_HUGETLB
tmp = getenv("USE_ZEND_ALLOC_HUGE_PAGES");
- if (tmp && !zend_atoi(tmp, 0)) {
- zend_mm_use_huge_pages = 0;
+ if (tmp && zend_atoi(tmp, 0)) {
+ zend_mm_use_huge_pages = 1;
}
#endif
ZEND_TSRMLS_CACHE_UPDATE();