[php-src] PR #25615: Use pkey_mprotect() for opcache.protect_memory when available
| From: | iluuu1994 | Date: | Fri, 20 Nov 2026 00:37:15 +0000 |
| Subject: | [php-src] PR #25615: Use pkey_mprotect() for opcache.protect_memory when available | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40841@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25615
Author: iluuu1994
The main motivation is to speed up the community build.
This is extremely messy. We might want to remove
mprotect() and Windows support
completely, so we can drop the lock. I now think the lock for HAVE_PKEY_MPROTECT is
also unnecessary because the first lock always happens before forking, but I'm off to bed and
want to see whether this actually speeds up the build.