[php-src] PR #23568: Check the links before unlinking a huge block
| From: | jvoisin | Date: | Fri, 04 Sep 2026 13:39:03 +0000 |
| Subject: | [php-src] PR #23568: Check the links before unlinking a huge block | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38304@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23568
Author: jvoisin
The same primitive was already fixed for the chunk list in 519920b2839 and for stream buckets in
492ebb54c1a; 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.