Message ID | 20230509174200.8136-1-malteskarupke@fastmail.fm (mailing list archive) |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E9ED13856DF5 for <patchwork@sourceware.org>; Tue, 9 May 2023 17:42:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9ED13856DF5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683654159; bh=GRQ2u1M64VYOQjYRnCzQyqYtGGfvozP3leOGEv/Jh5g=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=Iwx9m20tkSOgwF1bekU7u2LEUkwaoZXjAe8/HwdT18dgBp///yP14QVIDWVJ3n3gl S7I+5LVhRLEg0dNtWmLKDT/Cyd/41QAs3npUS9TI1w7XmSNhHPVVVbEnqyNq7jAED0 y6vQVEWSMNS5D81t11XLHuSzdc98PFerTMIktmEo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by sourceware.org (Postfix) with ESMTPS id B33B03858D37 for <libc-alpha@sourceware.org>; Tue, 9 May 2023 17:42:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B33B03858D37 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 X-ME-Sender: <xms:8oVaZJByFGVCY4WywHgsTNc7lgFpsDT71LA-lmR8EiIg7QoJ0VIN1Q> <xme:8oVaZHhDWC21QnN-RkQJmN7eNt4xGk1enDGKJ99Ac4cusgy8CUxIlyNSZxkzu-l94 i5BXnWTMrEY1YOxEQ> X-ME-Received: <xmr:8oVaZEniMtU7Ay1lLz5c07kLXl7QcfIEIokekVNbiM1UmYXPCPuXYwzMDR0eHpp-HBYVbEo> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeguddggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepmhgrlhhtvghs khgrrhhuphhkvgesfhgrshhtmhgrihhlrdhfmhenucggtffrrghtthgvrhhnpedvuddvff dtvefgkefgjeeuvdefffefleehheduveffjeeffedvffegheehkedtgeenucffohhmrghi nhepshhouhhrtggvfigrrhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhgrlhhtvghskhgrrhhuphhkvgesfhgrshhtmhgrihhl rdhfmh X-ME-Proxy: <xmx:8oVaZDxbJ6x7pHeV3Yi_gM7Wf55yOSvquYntg2CqECMfwQpIsuOcgQ> <xmx:8oVaZOSETQihDGA3KKM7uRn4socnH0QyZ3rRht5SS8s-w5VW1haOSA> <xmx:8oVaZGYJfemItxUQgmOdwICA5CSmXXkEErfGNuefxqLXGCE2cW5PlQ> <xmx:8oVaZH6f9ElZUuV3RxHDMLHmyT4zz2k1_NjhpqS7grSqf9HQJwVRkw> Feedback-ID: ifa6c408f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 May 2023 13:42:09 -0400 (EDT) To: libc-alpha@sourceware.org Cc: Malte Skarupke <malteskarupke@fastmail.fm> 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: malteskarupke--- via Libc-alpha <libc-alpha@sourceware.org> Reply-To: malteskarupke@fastmail.fm Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Patch to fix glibc condition variable bug (BZ 25847)
|
|
Message
develop--- via Libc-alpha
May 9, 2023, 5:41 p.m. UTC
From: Malte Skarupke <malteskarupke@fastmail.fm>
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(-)