From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /W9OE0REx2ck/wQAWB0awg (envelope-from ) for ; Tue, 04 Mar 2025 13:19:48 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=o29PRFy6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3F2721E105; Tue, 4 Mar 2025 13:19:48 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0DBE91E05C for ; Tue, 4 Mar 2025 13:19:47 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 90E813857734 for ; Tue, 4 Mar 2025 18:19:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90E813857734 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=o29PRFy6 Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id BF4213858410 for ; Tue, 4 Mar 2025 18:19:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF4213858410 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BF4213858410 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741112353; cv=none; b=cZu9NfitYlpK8s2t5QgmOH5Mnj4u/f2mVtysK2LBWle3foGgftqQ0/rMfS0Fi/x4Yhl7hXd03lu7K+mxNIytKQ0jKGhAlGsQqIoK7pkPyCZaBa4046ECdTdG+MmLxHETQpNLvpfrs8pPRFrsktdhRQuJhssf2DA6QxYWg62DTXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741112353; c=relaxed/simple; bh=NiM/Lea+lrtoXRgBGq9lxOEJd4FgJtWeR6gkRPFtojs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=RYI+3S7lRVfi4g0OkIQVQfCzb5CYHwxPt753uToN0v/kfSFdNw067bixRWgZfKrwISmHEnoL7lgP2gJPHnGkj/91TIFKijn0JXd3jFTXduIpEtzt1qfro0M5wEBBjMFwZxjAGFzT670liqyk9vmRWnS9GfXV2PjjIkypcyNpJJM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF4213858410 Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id pC3ZtRgSjAfjwpWrItU0Ne; Tue, 04 Mar 2025 18:19:12 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id pWrHtYb18qwd6pWrItWL4e; Tue, 04 Mar 2025 18:19:12 +0000 X-Authority-Analysis: v=2.4 cv=dOygmvZb c=1 sm=1 tr=0 ts=67c74420 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=Vs1iUdzkB0EA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=zstS-IiYAAAA:8 a=LKXWerz21X4jD9dSdssA:9 a=4G6NA9xxw8l3yy4pmD5M:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lLAZqedkQoEMjxrf1d6v2zpYzTYAnywVStFiPEQnOME=; b=o29PRFy6QBceqYvCssOFkD9EbU 4Yy15Tb1yuWQFhr8zKsgxw6/gf0oHL1US3BM8TPiSlUhP6NrjT2IR+5juOgOTv9yYWtvjcd2SLVAG TNf6QFM5Uuz07p+IVq1Sv4svS; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:54020 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1tpWrH-00000000n3c-0AiA; Tue, 04 Mar 2025 11:19:11 -0700 From: Tom Tromey To: Guinevere Larsen Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v3] gdb/testsuite: add test for memory requirements of gcore In-Reply-To: <20250226175058.3060581-2-guinevere@redhat.com> (Guinevere Larsen's message of "Wed, 26 Feb 2025 14:50:59 -0300") References: <20250225134544.2129276-1-guinevere@redhat.com> <20250226175058.3060581-2-guinevere@redhat.com> X-Attribution: Tom Date: Tue, 04 Mar 2025 11:19:09 -0700 Message-ID: <87ikoo1wwy.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.36.154 X-Source-L: No X-Exim-ID: 1tpWrH-00000000n3c-0AiA X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (murgatroyd) [97.118.36.154]:54020 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfIJChLi53kqDIZVdvRiWOxuXphPK251xMq/Io3waNUpld3J6ViWy1oNT05Sn1PMOVXWQVVgbq8KD7YWQ+ziSYbRniLgOOa2wcW3ZH6GZcXEaZicqbwVS wd4IfJZuMsXlwEZqgV+emOprDScUo/rVKImm1jnJ7oqw6WNMQlG9ELss5oqe6d4AEU4h1Egg9uvuKjQhhMSNh4dcipHRc60K4Pg= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Guinevere" == Guinevere Larsen writes: Guinevere> The test runs twice, once with the inferior allocating 4Mb of memory, Guinevere> and the other allocating 64Mb. My plan was to find the rate at which Guinevere> things increase based on inferior size, and have that tested to ensure Guinevere> we're not growing that requirement accidentally, but my testing Guinevere> actually showed memory requirements going down as the inferior increases, Guinevere> so instead I just hardcoded that we need less than 2Mb for the command, Guinevere> and it can be tweaked later if necessary. This seems fine to me. I didn't understand why it needed to attach, it seems like just running it would be the same? But also it doesn't really matter, considering you've done the work. Approved-By: Tom Tromey thanks, Tom