From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2MUxMhcG+WPvzTwAWB0awg (envelope-from ) for ; Fri, 24 Feb 2023 13:46:47 -0500 Received: by simark.ca (Postfix, from userid 112) id BFED31E222; Fri, 24 Feb 2023 13:46:47 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=m4q9Z6W6; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6B5F31E128 for ; Fri, 24 Feb 2023 13:46:47 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BAE753854803 for ; Fri, 24 Feb 2023 18:46:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BAE753854803 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677264406; bh=f+1yHhW7+BLZ2DOE3y8otC0sBn00ku8xe2jRgRMgJLE=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=m4q9Z6W6S7V1dO6RcMBNt5RDD7rN/GyljqbD/d5IFk+e0FXzPy3WAeuzS/FztzosW rbi9VFR9fyQKC/S/T7dlM4R5pW147oLLt5Bf/nLUQXJBTiPp9zZaYwZPQ9PxV2hHXp RyC1W0s8I9ssoxXQ04QxroYKyzwC8jDL5PrAwerk= Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 223A2385840F for ; Fri, 24 Feb 2023 18:46:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 223A2385840F Received: by mail-il1-x129.google.com with SMTP id a1so259952iln.9 for ; Fri, 24 Feb 2023 10:46:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f+1yHhW7+BLZ2DOE3y8otC0sBn00ku8xe2jRgRMgJLE=; b=OoX2Z58B8GCoJCiHuygx3zSMb/pp8znaXGlqnxSAYxnUhqOxoTzU4vZ3jRF4YCVA2i pGwRe0RqIZaZWApO3Drzh2yF1tKHCfrArKQTE1aK7I+JsXhTK5nGz2STxNNQ6Ir7YmLl AoMAsouOqmoyyr8tyZ8PA7ai5nMFMUFW1SpS4+h04odBTlHpkPD5ahKfs8oCNsZUstqC Z7WwYMguJ8lhzr8KWfh5HdiWZ++xACYtYpWf4TfxMtrJWgGYnqzO+7RDm549MtgpfV8+ HIgKP0eBHGRz4UMKFBvMv8DwyIndULEVMzEoifejkQC8tpM8MJ9uuZfM8tMpkAGfPvWo cJyw== X-Gm-Message-State: AO0yUKUb4mO/2YYZP4Pl4XGZQOXxVh177k/ChSnRjqf0r72zszusRYnC msmgyvSfEJNUUBtnp7IMqk90LMOB+XKeT12Q X-Google-Smtp-Source: AK7set8MKASf/hyRp8yMiJ+kI6bheUbR40WpAsXZrDwVH3KK+PUhxLLqJETSGAsxPUvNABIWe120Rw== X-Received: by 2002:a05:6e02:2186:b0:315:2dc2:9919 with SMTP id j6-20020a056e02218600b003152dc29919mr17388708ila.22.1677264385381; Fri, 24 Feb 2023 10:46:25 -0800 (PST) Received: from murgatroyd (75-166-130-93.hlrn.qwest.net. [75.166.130.93]) by smtp.gmail.com with ESMTPSA id f12-20020a02a80c000000b003a068d00373sm2606626jaj.138.2023.02.24.10.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:46:24 -0800 (PST) To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH v3 0/2] Write DWARF index cache files in background References: <20221219164558.378363-1-tromey@adacore.com> X-Attribution: Tom Date: Fri, 24 Feb 2023 11:46:24 -0700 In-Reply-To: <20221219164558.378363-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Mon, 19 Dec 2022 09:45:56 -0700") Message-ID: <87k006j3zz.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> Here's v3 of the patches to write the DWARF index in the background. Tom> v2 was here: Tom> https://sourceware.org/pipermail/gdb-patches/2022-June/189889.html Tom> This hides a user-noticeable pause when the feature is enabled. (Note Tom> that, when the feature is used in batch mode, the pause is still Tom> seen.) Tom> This version of the series fixes a possible race that I found in v2. Tom> Essentially, the index-writing background job must be started after Tom> all the finalization tasks have started. There's a comment in the Tom> code explaining this. I'm checking this in now. Tom