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: fweimer at redhat dot com (Florian Weimer)
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 27 Aug 2018 20:05:33 +0200
- Subject: Re: [PATCH] pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
- References: <20180827180416.CA55340483626@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 dafec5d82d..abe90d1422 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -84,6 +84,7 @@ The following bugs are resolved with this release:
> [22685] powerpc: Fix syscalls during early process initialization
> [22715] x86-64: Properly align La_x86_64_retval to VEC_SIZE
> [22774] malloc: Integer overflow in malloc (CVE-2018-6551)
> + [23538] pthread_cond_broadcast: Fix waiters-after-spinning case
>
> Version 2.25
Sorry, script malfunction. This should have gone to libc-stable as a
committed patch.