Skip to content

Commit 35aef8e

Browse files
committed
Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
2 parents f666965 + 6fb8b9d commit 35aef8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/shared_alloc_mmap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
static void *find_prefered_mmap_base(size_t requested_size)
5353
{
5454
size_t huge_page_size = 2 * 1024 * 1024;
55-
uintptr_t last_free_addr = 0;
55+
uintptr_t last_free_addr = huge_page_size;
5656
uintptr_t last_candidate = (uintptr_t)MAP_FAILED;
5757
uintptr_t start, end, text_start = 0;
5858
#if defined(__linux__)

0 commit comments

Comments
 (0)