From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by sourceware.org (Postfix) with ESMTPS id B33B03858D37 for ; Tue, 9 May 2023 17:42:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B33B03858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=fastmail.fm Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fastmail.fm Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CF2EA5C03A7; Tue, 9 May 2023 13:42:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 09 May 2023 13:42:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1683654130; x=1683740530; bh=GRQ2u1M64V YOQjYRnCzQyqYtGGfvozP3leOGEv/Jh5g=; b=vbjiaS62VSo+DVQeI866SxcPgk jJ8S8Kx4haA4lVu8Akukkiwp8+hmx/7+LSlgXFGSiwhsCxohlNkJq38YSwIz1i7c J4jfhaORnWC9oELBpxGvkKw98ngubWR6meWFuajS/wvwm5QtfkFRWq6+tyDkH5GK NbzvAoPHa7S/zbvuJATw6jGXmstwMS0w9RwTYfoD5uA67g4v8wU+RfruamNChstG Jj1MHb2zeoNNlwrCqkJ+0lPSHt20Y9TeU7TS/VV72Y4MJg/T/jlhz0qB8N03sUo9 pX5+aRHw1EfXvmTqCl5MwlhFNvuTua/wz4NycJa0tiF0K6u3RR7WRmiGwuCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683654130; x=1683740530; bh=GRQ2u1M64VYOQ jYRnCzQyqYtGGfvozP3leOGEv/Jh5g=; b=dXb1iPyRHdbFmUxYw77sZ74kAjkbp J14zrlkaMsTHnuxm2YLoWK57i9EGHN5P7Vz4y3fOn10jZ5ybEw+mPcMJXq7XQeps 8Amaod8NvrsDJLsBbk/TlTsGqXWGerYcpunY2vJoTNIVx/srfM2068uhQzqehfAK hzYER+QQLTO/Kh4B/KcSoVAamrWHRR5xGei+KZ8Vw6MitEy9wmbhaLmPfqEWTKT7 CPRUD5KszjBWQKNsY/vHWJAAB0Ev+uO+eTM/YRjrXg8PYftX3catk09GoyMrY67f rZeEiTPJZS1NcCdPEpgiXFc8US08kGhrptwNBWt69eWJk3LL2d86cZMFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeguddggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepmhgrlhhtvghs khgrrhhuphhkvgesfhgrshhtmhgrihhlrdhfmhenucggtffrrghtthgvrhhnpedvuddvff dtvefgkefgjeeuvdefffefleehheduveffjeeffedvffegheehkedtgeenucffohhmrghi nhepshhouhhrtggvfigrrhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhgrlhhtvghskhgrrhhuphhkvgesfhgrshhtmhgrihhl rdhfmh X-ME-Proxy: Feedback-ID: ifa6c408f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 May 2023 13:42:09 -0400 (EDT) From: malteskarupke@fastmail.fm To: libc-alpha@sourceware.org Cc: Malte Skarupke Subject: [PATCH v3 0/9] Patch to fix glibc condition variable bug (BZ 25847) Date: Tue, 9 May 2023 13:41:51 -0400 Message-Id: <20230509174200.8136-1-malteskarupke@fastmail.fm> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: From: Malte Skarupke This is v3 of the patches, v1 here: https://sourceware.org/pipermail/libc-alpha/2023-January/145023.html I added sign-off messages to my commits. Frank Barrus will have to add them to his commit separately since I'm just sending in his patch with minor modifications. Diff of diffs: v2 - use release MO when modifying g_signals in pthread_cond_common in the first patch v3 - add sign-off statement to commit messages Frank Barrus (1): pthreads NPTL: lost wakeup fix 2 Malte Skarupke (8): nptl: Update comments and indentation for new condvar implementation nptl: Remove unnecessary catch-all-wake in condvar group switch nptl: Remove unnecessary quadruple check in pthread_cond_wait nptl: Remove g_refs from condition variables nptl: Use a single loop in pthread_cond_wait instaed of a nested loop nptl: Fix indentation nptl: rename __condvar_quiesce_and_switch_g1 nptl: Use all of g1_start and g_signals nptl/pthread_cond_broadcast.c | 8 +- nptl/pthread_cond_common.c | 109 ++-------- nptl/pthread_cond_signal.c | 19 +- nptl/pthread_cond_wait.c | 278 +++++------------------- nptl/tst-cond22.c | 12 +- sysdeps/nptl/bits/thread-shared-types.h | 4 +- sysdeps/nptl/pthread.h | 2 +- 7 files changed, 100 insertions(+), 332 deletions(-) -- 2.34.1