public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] More NPTL fixes
@ 2021-06-10 19:36 Adhemerval Zanella
  2021-06-10 19:36 ` [PATCH 1/6] nptl: Fix tst-cancel7 and tst-cancelx7 race condition (BZ #14232) Adhemerval Zanella
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Adhemerval Zanella @ 2021-06-10 19:36 UTC (permalink / raw)
  To: libc-alpha

This patch fixes a couple of NPTL issues and continue to refactor the
cancellation code to simplify the required synchronization.

Adhemerval Zanella (6):
  nptl: Fix tst-cancel7 and tst-cancelx7 race condition (BZ #14232)
  nptl: Set cancellation type and state on pthread_exit
  nptl: Handle robust PI mutexes for !__ASSUME_SET_ROBUST_LIST
  nptl: Do not use pthread set_tid_address as state synchronization (BZ
    #19951)
  nptl: Move setxid flag out of cancelhandling
  nptl: Replace struct thread cancelhandling field

 nptl/Makefile                       |   5 +-
 nptl/allocatestack.c                |   5 +-
 nptl/cancellation.c                 |  17 ++-
 nptl/descr.h                        |  44 ++++----
 nptl/nptl-stack.h                   |   2 +-
 nptl/nptl_free_tcb.c                |  22 ++--
 nptl/nptl_setxid.c                  |  49 ++-------
 nptl/pthreadP.h                     |  21 ++--
 nptl/pthread_cancel.c               |  11 +-
 nptl/pthread_clockjoin.c            |   2 +-
 nptl/pthread_create.c               | 111 +++++++++++---------
 nptl/pthread_detach.c               |  36 +++----
 nptl/pthread_exit.c                 |   4 +-
 nptl/pthread_getattr_np.c           |   2 +-
 nptl/pthread_join.c                 |   2 +-
 nptl/pthread_join_common.c          | 127 ++++++++--------------
 nptl/pthread_testcancel.c           |  11 +-
 nptl/pthread_timedjoin.c            |   2 +-
 nptl/pthread_tryjoin.c              |  18 ++--
 nptl/tst-cancel7.c                  |  96 ++++++++---------
 nptl/tst-cleanup5.c                 | 157 ++++++++++++++++++++++++++++
 nptl_db/structs.def                 |   2 +-
 nptl_db/td_thr_get_info.c           |  16 ++-
 nptl_db/td_thr_getfpregs.c          |   9 +-
 nptl_db/td_thr_getgregs.c           |   9 +-
 nptl_db/td_thr_setfpregs.c          |   9 +-
 nptl_db/td_thr_setgregs.c           |   9 +-
 sysdeps/hppa/nptl/tcb-offsets.sym   |   1 -
 sysdeps/i386/nptl/tcb-offsets.sym   |   1 -
 sysdeps/nptl/dl-tls_init_tp.c       |   4 +-
 sysdeps/nptl/libc_start_call_main.h |   7 ++
 sysdeps/pthread/tst-thrd-detach.c   |  16 ++-
 sysdeps/sh/nptl/tcb-offsets.sym     |   1 -
 sysdeps/x86_64/nptl/tcb-offsets.sym |   4 -
 34 files changed, 448 insertions(+), 384 deletions(-)
 create mode 100644 nptl/tst-cleanup5.c

-- 
2.30.2


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

end of thread, other threads:[~2021-06-11 17:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 19:36 [PATCH 0/6] More NPTL fixes Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 1/6] nptl: Fix tst-cancel7 and tst-cancelx7 race condition (BZ #14232) Adhemerval Zanella
2021-06-11 15:02   ` Florian Weimer
2021-06-11 15:08     ` Adhemerval Zanella
2021-06-11 15:10       ` Florian Weimer
2021-06-11 17:24         ` [PATCH v2 " Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 2/6] nptl: Set cancellation type and state on pthread_exit Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 3/6] nptl: Handle robust PI mutexes for !__ASSUME_SET_ROBUST_LIST Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 4/6] nptl: Do not use pthread set_tid_address as state synchronization (BZ #19951) Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 5/6] nptl: Move setxid flag out of cancelhandling Adhemerval Zanella
2021-06-10 19:36 ` [PATCH 6/6] nptl: Replace struct thread cancelhandling field Adhemerval Zanella

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).