Skip to content

Commit d539c4b

Browse files
committed
Merge branch 'PHP-8.3'
2 parents 81744d6 + 35aef8e commit d539c4b

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)