public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v5 0/9] Patch to fix glibc condition variable bug (BZ 25847)
@ 2023-05-13  4:02 malteskarupke
  2023-05-13  4:02 ` [PATCH v5 1/9] pthreads NPTL: lost wakeup fix 2 malteskarupke
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: malteskarupke @ 2023-05-13  4:02 UTC (permalink / raw)
  To: libc-alpha; +Cc: Malte Skarupke

From: Malte Skarupke <malteskarupke@fastmail.fm>

This is v5 of the patches, v1 here:
https://sourceware.org/pipermail/libc-alpha/2023-January/145023.html

I added Frank Barrus' signed-off message and removed the unnecessary
"unused" struct member of pthread_cond_t.

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
v4 - I had missed the sign-off statement in one of my patches
v5 - add Frank Barrus' sign-off statement and remove unneeded "unused"
member in pthread_cond_t

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 |   3 +-
 sysdeps/nptl/pthread.h                  |   2 +-
 7 files changed, 99 insertions(+), 332 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-13  4:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-13  4:02 [PATCH v5 0/9] Patch to fix glibc condition variable bug (BZ 25847) malteskarupke
2023-05-13  4:02 ` [PATCH v5 1/9] pthreads NPTL: lost wakeup fix 2 malteskarupke
2023-05-13  4:02 ` [PATCH v5 2/9] nptl: Update comments and indentation for new condvar implementation malteskarupke
2023-05-13  4:02 ` [PATCH v5 3/9] nptl: Remove unnecessary catch-all-wake in condvar group switch malteskarupke
2023-05-13  4:02 ` [PATCH v5 4/9] nptl: Remove unnecessary quadruple check in pthread_cond_wait malteskarupke
2023-05-13  4:02 ` [PATCH v5 5/9] nptl: Remove g_refs from condition variables malteskarupke
2023-05-13  4:02 ` [PATCH v5 6/9] nptl: Use a single loop in pthread_cond_wait instaed of a nested loop malteskarupke
2023-05-13  4:02 ` [PATCH v5 7/9] nptl: Fix indentation malteskarupke
2023-05-13  4:02 ` [PATCH v5 8/9] nptl: rename __condvar_quiesce_and_switch_g1 malteskarupke
2023-05-13  4:02 ` [PATCH v5 9/9] nptl: Use all of g1_start and g_signals malteskarupke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).