From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0010f301.pphosted.com (mx0b-0010f301.pphosted.com [148.163.153.244]) by sourceware.org (Postfix) with ESMTPS id C4E073856961 for ; Mon, 21 Aug 2023 22:08:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4E073856961 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=rice.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rice.edu Received: from pps.filterd (m0102858.ppops.net [127.0.0.1]) by mx0b-0010f301.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 37LLc2kL029274 for ; Mon, 21 Aug 2023 17:08:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rice.edu; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=ricemail; bh=xVJhZdOEEoKdYibDNQ0dBmKx5ePdEs pUy0//fZvXrus=; b=nvJD+HDNbIhEHlxXFM9aUaBeyLd+50Wbwujfg41livid28 YyDrp7A9kHBsUCEPrhjkf1ghaAFfdZ0eDfbFlSXMz27m22R4hyT7FSZNMrrca/XR e+jLwAND8qhCUkBKWFvciSOfJwXEf0bWI9wi9BoE7QUoFgFT6XBggEQDPbBRFOM/ H4dX5MGmb9Fo1BzduEfCiPsgiDfM5jvxLeWSCZaaQGuVh2ShHznObOj5suWnazqY 1xg6W+W1IccEd3yr8WzG44OCUzAaSKqV6vcW+TzlLRnO+SCmeYsd01tohGvxXQSY u+b4G6zcxrWFXP7YVbnupFYmbKWW/rtBtIfqFHgw== Received: from mh3.mail.rice.edu (smtp1.mail.rice.edu [128.42.199.10]) by mx0b-0010f301.pphosted.com (PPS) with ESMTPS id 3sku2e9t8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Aug 2023 17:08:29 -0500 (CDT) Received-X: from mh3.mail.rice.edu (localhost [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id D35E96037CF for ; Mon, 21 Aug 2023 17:08:28 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id D21F1602829; Mon, 21 Aug 2023 17:08:28 -0500 (CDT) X-Virus-Scanned: by amavis-2.12.1 at mh3.mail.rice.edu, auth channel Received: from mh3.mail.rice.edu ([127.0.0.1]) by localhost (mh3.mail.rice.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7Z2NBaYqXqPr; Mon, 21 Aug 2023 17:08:18 -0500 (CDT) Received: from smtpclient.apple (c-98-200-160-219.hsd1.tx.comcast.net [98.200.160.219]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johnmc@rice.edu) by mh3.mail.rice.edu (Postfix) with ESMTPSA id 8E32A209200; Mon, 21 Aug 2023 17:08:18 -0500 (CDT) From: John Mellor-Crummey Message-Id: <9E6D5AA5-3954-4E99-B8DB-18085137F49B@rice.edu> Content-Type: multipart/alternative; boundary="Apple-Mail=_A0C17BB8-40C6-40E8-A1FB-F46AEC1A7B6D" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: [PATCH] Fix thread-safety for elfutils Date: Mon, 21 Aug 2023 17:08:17 -0500 In-Reply-To: Cc: John Mellor-Crummey , Heather McIntyre To: elfutils-devel@sourceware.org References: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-21_10,2023-08-18_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --Apple-Mail=_A0C17BB8-40C6-40E8-A1FB-F46AEC1A7B6D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Any thoughts about the patch from my student, Heather McIntyre? -- John Mellor-Crummey Professor Dept of Computer Science Rice University email: johnmc@rice.edu phone: 713-348-5179 > On Aug 8, 2023, at 12:07 PM, Heather McIntyre wrote: >=20 > Hello all,=20 >=20 > This patch was created to address thread-safety issues reported in bug 26= 921 and bug 26930= .=20=20 > Additionally, other thread-safety fixes were applied during the process. >=20 > Brief Description: > Locking was implemented for tsearch and tfind. > Changes to multiple files within the libelf library were made such that U= SE_LOCKS no longer causes tests to fail when enabled. > New tests were added to confirm thread-safety.=20 >=20 > Please review the attached patch file and feel free to provide feedback. = I am available for any clarifications or modifications needed. >=20 > Best regards, > Heather McIntyre > <0001-Fix-thread-safety-for-elfutils.patch> --Apple-Mail=_A0C17BB8-40C6-40E8-A1FB-F46AEC1A7B6D--