From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30654 invoked by alias); 26 Oct 2019 10:54:14 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 30644 invoked by uid 89); 26 Oct 2019 10:54:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=management X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: albireo.enyo.de Received: from albireo.enyo.de (HELO albireo.enyo.de) (37.24.231.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 26 Oct 2019 10:54:12 +0000 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iOJhu-00009c-6F; Sat, 26 Oct 2019 10:54:06 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1iOJhr-0008Oq-0k; Sat, 26 Oct 2019 12:54:03 +0200 From: Florian Weimer To: Jonathon Anderson Cc: Mark Wielaard , elfutils-devel@sourceware.org, Srdan Milakovic Subject: Re: [PATCH] libdw: add thread-safety to dwarf_getabbrev() References: <1565983469.1826.0@smtp.mail.rice.edu> <20190824232438.GA2622@wildebeest.org> <1566695452.979.1@smtp.mail.rice.edu> <5ba06557703ee363e19488c994cbddd92ade25be.camel@klomp.org> <1566782688.5803.0@smtp.mail.rice.edu> <1566826627.5246.0@smtp.mail.rice.edu> <1566877968.10901.0@smtp.mail.rice.edu> Date: Sat, 26 Oct 2019 10:54:00 -0000 In-Reply-To: <1566877968.10901.0@smtp.mail.rice.edu> (Jonathon Anderson's message of "Mon, 26 Aug 2019 22:52:48 -0500") Message-ID: <87tv7vg4l0.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-q4/txt/msg00045.txt.bz2 * Jonathon Anderson: > Just finished some modifications to the patch series, git request-pull > output below. This rebases onto the latest master and does a little > diff cleaning, the major change is that I swapped out the memory > management to use the pthread_key_* alternative mentioned before. This use of pthread_key_* is rather unusual. In particular, there are only 1024 keys supported for the entire process, so it limits the number of Dwarf * objects that can be created by one process, even if it does not use any threads.