Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not create the opcache shm mapping too close to the heap #14793

Open
wants to merge 2 commits into
base: PHP-8.2
Choose a base branch
from

Commits on Jul 3, 2024

  1. Fix the JIT buffer relocation failure at the corner case (php#11266)

    Avoid missing possible candidates due to the large address range of the free segment.
    Eg, 
    
    48000000-49400000 r-xs 08000000 00:0f 39322841               segment1
    7ffff2ec8000-7ffff2f49000 rw-p 00000000 00:00 0              segment2
    7ffff6fae000-7ffff735c000 r-xp 00200000 08:02 11538515       /usr/local/sbin/php-fpm
    
    original code will miss the opportunity between [7ffff2ec** - 7ffff2ec8000].
    
    Fix issue php#11265.
    
    Signed-off-by: Long, Tao <tao.long@intel.com>
    Signed-off-by: Dmitry Stogov <dmitrystogov@gmail.com>
    LoongT4o authored and arnaud-lb committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    5a726fd View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    36c0364 View commit details
    Browse the repository at this point in the history