From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80A3C3858D33; Sun, 25 Dec 2022 21:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80A3C3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672003301; bh=xW7g38Wcb3XTFsmPMSIBj91v2/8PzrMmgtUrBpdy9xE=; h=From:To:Subject:Date:From; b=OHb4lB8ZhoWttE0kya9yvHyZKotvY7jHEcdQ2OM7wSklTfcI9+bhlXagJF7w8+38h Rqk9lATBwKlZUEAirPnEz5iABi8IFmOXXGpE9cKtO/XtouA5EUWZY3jnlU6F6aB2Lm r/NeD8ZymjeZLrCpZvLhFDXwhqk48h4WKw12olco= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29942] New: Read some DWARF purely in background Date: Sun, 25 Dec 2022 21:21:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29942 Bug ID: 29942 Summary: Read some DWARF purely in background Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- Currently, dwarf2_build_psymtabs_hard works synchronously: it sends some work to worker threads, but it waits for all work to be completed before proceeding. However, it doesn't have to work this way. Instead, it could start reading immediately; and then after starting the background tasks, it could store a future that would then be waited on by cooked_index_functions::read_partial_symbols. I think the main benefit to doing this would be that "attach" might appear to be faster. In particular work like downloading from debuginfod could be done while other threads are scanning the DWARF. --=20 You are receiving this mail because: You are on the CC list for the bug.=