From: Simon Glass <simon.glass@canonical.com> 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> --- common/mcheck_core.inc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/mcheck_core.inc.h b/common/mcheck_core.inc.h index 7caa9ac8dff..2839027564e 100644 --- a/common/mcheck_core.inc.h +++ b/common/mcheck_core.inc.h @@ -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: -- 2.43.0