]> granicus.if.org Git - php/commit
Make MADV_HUGEPAGE conditional on USE_ZEND_ALLOC_HUGE_PAGES
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Feb 2019 13:01:45 +0000 (14:01 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Feb 2019 13:03:07 +0000 (14:03 +0100)
commit928c42211f737640e4dc3c9702ba833c3059bddf
tree39c8c9e19c76e1de04e5d1e8515eeeb879f0d2ad
parentde738496c2c323b580d9aff0f121876e4101a910
Make MADV_HUGEPAGE conditional on USE_ZEND_ALLOC_HUGE_PAGES

There have been multiple reports of large slowdowns due to the
use of MADV_HUGEPAGE, so make it conditional on
USE_ZEND_ALLOC_HUGE_PAGES, just like MAP_HUGETLB already is.
Zend/zend_alloc.c