Skip to content

Check the links before unlinking a huge block - #23568

Merged
arnaud-lb merged 1 commit into
php:masterfrom
jvoisin:double_linked_big
Sep 17, 2026
Merged

arnaud-lb merged 1 commit into
php:masterfrom
jvoisin:double_linked_big

Conversation

@jvoisin

@jvoisin jvoisin commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The same primitive was already fixed for the chunk list in 519920b and for stream buckets in 492ebb5; the huge list was missed.

Costs one pointer per huge block, growing zend_mm_huge_list from 24 to 32 bytes on 64-bit, i.e. one small slot per allocation of at least 2MB.

The same primitive was already fixed for the chunk list in 519920b and
for stream buckets in 492ebb5; the huge list was missed.

Costs one pointer per huge block, growing zend_mm_huge_list from 24 to 32
bytes on 64-bit, i.e. one small slot per allocation of at least 2MB.
@jvoisin
jvoisin requested a review from dstogov as a code owner September 4, 2026 13:39
@arnaud-lb
arnaud-lb merged commit 16ca828 into php:master Sep 17, 2026
18 checks passed
@arnaud-lb

Copy link
Copy Markdown
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants