From patchwork Wed Dec 10 00:07:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 882 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765325392; bh=QLODlkEpFM8iy9h9ejW/1G9QT0hw+9/nY+xndZpNVfM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=DkweZZAS+lxSkxqOtnT+N2AbFpZjBBsmcV8bYCwRcoTqdUlEbbrtD5TN8hstsWe19 25yTwmaNwiBNTr7XceKH+LN2mrg1afOr8vxTh96cDdkoqA6nmvZVfq1LC0SsWh3VaZ z/G1wnANfkMjlcz0dnZ2995Np6HZij0DiU96DOwXLZc1xzvdlhoRwfAg0QvSFFS91f 4XHfFfuT6MMwJFzLeBxbrT+oPRNd8M5XE7awHzQiBQ7653MZT84AZiKC2Ure4MZLIo /Pcgtj4NjGCTm/rcA2rRjRV8R4nqBossXt1awdK0bxbUt983GTKudRt38ugGj8h9kh Rm/jDeLpd9Wyg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 421FE68A4C for ; Tue, 9 Dec 2025 17:09:52 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id TJ3sxaJmOo53 for ; Tue, 9 Dec 2025 17:09:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765325392; bh=QLODlkEpFM8iy9h9ejW/1G9QT0hw+9/nY+xndZpNVfM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=DkweZZAS+lxSkxqOtnT+N2AbFpZjBBsmcV8bYCwRcoTqdUlEbbrtD5TN8hstsWe19 25yTwmaNwiBNTr7XceKH+LN2mrg1afOr8vxTh96cDdkoqA6nmvZVfq1LC0SsWh3VaZ z/G1wnANfkMjlcz0dnZ2995Np6HZij0DiU96DOwXLZc1xzvdlhoRwfAg0QvSFFS91f 4XHfFfuT6MMwJFzLeBxbrT+oPRNd8M5XE7awHzQiBQ7653MZT84AZiKC2Ure4MZLIo /Pcgtj4NjGCTm/rcA2rRjRV8R4nqBossXt1awdK0bxbUt983GTKudRt38ugGj8h9kh Rm/jDeLpd9Wyg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2A3CB689EA for ; Tue, 9 Dec 2025 17:09:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765325389; bh=T7yE8KG/PsJBQLYnfe4hjf4wzOrsJm3D6KrtxgUd9i8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l0RbYqLX6sqOae+ACk2G3MVnKfAsqdvMNaqCnsR4hACJ6fDXq9dhlmRfP4aqa4OHK oJhk8fJGd/IbsiGk0QWUKpKXN/H2hnV4lk4f2viMcV0rN7Djl1IBawIAhz99kPHx3F ogWoZuTLluj1gbxcmuYTe70uAZkPwuCW52RE1RuZkUQXtf+6G+YGxGEmxlAzWQMzoc jgVz/MB1IOEUf9Q4DriXc55T7wGzuzvs0bDPrK6kg6D/6pRy54xr3Jqnuc78VNvPVH AnQ71pYzA5BSmxxAa9q9G690T8oXiyEPHoF4VOQl4eJ6dL66ME2QDQansjPnraGbzq HuSjUkyRmPozw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C1BE368A22; Tue, 9 Dec 2025 17:09:49 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id QG5GtMX2pfxe; Tue, 9 Dec 2025 17:09:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765325383; bh=H9z012mE/z+TxlnvrIUEQ3GHNeLdDZKdCFbD+7/FlG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hf4zBXsvWnOSgTf5aq41dY+6GNjCgurIkH2VTEe92gNkClh63i5tECFLYRb30rPqf NXoJbO9daxR9rA8hCbE5tZyjhRzBgMXA12uRwFSugC3uwEKzHF59p+mihUYEDVIusO 8zsKVcl/WipwTI3/EsTCEKYEI8Bg70NiZdM2/FzbbZZisPyEYh03gCNPNxfCEHB0Fn eBjdO69YcrbswOgdI6OJncltl0vg7iehxasCfo6F4qAZnYXcLMhmacGBs8IZGrB7hb iMkOSUBMhnEOmVvnF8ZbDiiLJw0tGWoUmTevBpPzaWap2U6HWy6PFN6N4F6SlRVUdu hPyU1t9D7A3Gg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 25352687A7; Tue, 9 Dec 2025 17:09:43 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Tue, 9 Dec 2025 17:07:15 -0700 Message-ID: <20251210000737.180797-25-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251210000737.180797-1-sjg@u-boot.org> References: <20251210000737.180797-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 6K4GOA75BZGDZLWWDW5IOHFQUKU6TJLR X-Message-ID-Hash: 6K4GOA75BZGDZLWWDW5IOHFQUKU6TJLR X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 24/35] malloc: Increase the mcheck registry size List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass 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 Signed-off-by: Simon Glass --- 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: