This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: libc-alpha at sourceware dot org
- Date: Mon, 27 Aug 2018 20:05:44 +0200
- Subject: Re: [PATCH] pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
- References: <20180827180420.5B0E3439B9CEA@oldenburg.str.redhat.com>
* Florian Weimer:
> From: Martin Kuchta <martin.kuchta@netapp.com>
>
> (cherry picked from commit 99ea93ca31795469d2a1f1570f17a5c39c2eb7e2)
>
> 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
> Torvald Riegel <triegel@redhat.com>
>
> [BZ #23538]
> * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
> Update r to include the set wake-request flag if waiters are
> remaining after spinning.
>
> diff --git a/NEWS b/NEWS
> index 61ac02cd69..a868a652f7 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -146,6 +146,7 @@ The following bugs are resolved with this release:
> [23236] Harden function pointers in _IO_str_fields
> [23313] libio: Disable vtable validation in case of interposition
> [23349] Various glibc headers no longer compatible with <linux/time.h>
> + [23538] pthread_cond_broadcast: Fix waiters-after-spinning case
> [23363] stdio-common/tst-printf.c has non-free license
> [23456] Wrong index_cpu_LZCNT
> [23459] COMMON_CPUID_INDEX_80000001 isn't populated for Intel processors
Sorry, script malfunction. This should have gone to libc-stable as a
committed patch.