[php-src] PR #24026: Load the epoll_pwait2 availability flag once per wait
| From: | bukka | Date: | Wed, 30 Sep 2026 16:10:00 +0000 |
| Subject: | [php-src] PR #24026: Load the epoll_pwait2 availability flag once per wait | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39006@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24026
Author: bukka
The fallback added in #23825 tested the atomic flag twice on every wait, since the compiler cannot
assume it did not change in between, and marked the epoll_wait() path unexpected although it is
taken on every wait once the kernel has answered ENOSYS. The two calls are now the branches of one
if/else with a goto from the ENOSYS case into the fallback branch, and the branch hints are gone.