[php-src] PR #19388: Fix opcache.huge_code_pages

From: Date: Wed, 06 Aug 2025 10:24:07 +0000
Subject: [php-src] PR #19388: Fix opcache.huge_code_pages
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32812@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/19388 Author: arnaud-lb Building opcache into the main executable breaks opcache.huge_code_pages, as we were relying on the fact that accel_remap_huge_pages() is not in the same mapping as the main text segment. Here I move accel_remap_huge_pages() out of the text segment, and remap only the text segment. This approach is used in https://github.com/intel/iodlr/blob/676bb7dec378d561e4d900fbdaed6ce8dbe449a1/large_page-c/large_page.c#L260. I've also tried using remap in https://github.com/php/php-src/pull/19379, but it's not supported on FreeBSD. We could still use the remap approach on Linux.

« previous php.git-pulls (#32812) next »