malloc: Increase the mcheck registry size

The mcheck registry tracks concurrent allocations for pedantic checking.
The current size of 6608 entries is insufficient when running the full
pytest suite, causing registry overflow warnings.

Increase REGISTRY_SZ to 12000 to handle the full test suite.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-09 11:35:24 -07:00
parent 87c2c087ea
commit afddd1b731

View File

@@ -70,8 +70,8 @@
#define FREEFLOOD ((char)0xf5)
#define PADDINGFLOOD ((char)0x58)
// my normal run demands 4427-6449 chunks:
#define REGISTRY_SZ 6608
// Full test suite can exceed 10000 concurrent allocations
#define REGISTRY_SZ 12000
#define CANARY_DEPTH 2
// avoid problems with BSS at early stage: