| Message ID | 20251210000737.180797-25-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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 <u-boot-concept@u-boot.org>; 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 <u-boot-concept@u-boot.org>; 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 <u-boot-concept@u-boot.org>; 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 <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> 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 <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com>, Claude <noreply@anthropic.com> 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 <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/6K4GOA75BZGDZLWWDW5IOHFQUKU6TJLR/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
malloc: Add heap debugging commands and mcheck caller tracking
|
|
Commit Message
Simon Glass
Dec. 10, 2025, 12:07 a.m. UTC
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: