From: Michael Jeanson <mjeanson@efficios.com>
To: libc-alpha@sourceware.org
Cc: Michael Jeanson <mjeanson@efficios.com>,
Florian Weimer <fweimer@redhat.com>,
Carlos O'Donell <carlos@redhat.com>, DJ Delorie <dj@redhat.com>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Subject: [PATCH 0/4] Extend rseq support
Date: Tue, 27 Feb 2024 10:55:29 -0500 [thread overview]
Message-ID: <20240227155533.298617-1-mjeanson@efficios.com> (raw)
This series rebases the standalone "Add rseq extensible ABI" patch on
current master and addresses many review comments documented in each
patch commit message.
The accelerated getcpu() implementation using the rseq extensible ABI
was split in a different patch series while we figure out the best way
to interface with the librseq project as an upstream.
Cc: Florian Weimer <fweimer@redhat.com>
Cc: Carlos O'Donell <carlos@redhat.com>
Cc: DJ Delorie <dj@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
Changes since v7:
- Fix sorting of symbols in abilist files
Changes since v9:
- Address review comments
- Split the accelerated getcpu() implementation in a separate patch set
Michael Jeanson (4):
nptl: fix potential merge of __rseq_* relro symbols
Add rseq extensible ABI support
nptl: Add public __rseq_feature_size symbol
nptl: Add features to internal 'struct rseq_area'
csu/Makefile | 2 +-
csu/libc-tls.c | 84 +++++++++++++++++--
csu/rseq-sizes.sym | 11 +++
elf/Makefile | 1 +
elf/dl-rseq-symbols.S | 72 ++++++++++++++++
elf/dl-tls.c | 78 +++++++++++++++++
elf/rtld_static_init.c | 12 +++
manual/threads.texi | 9 ++
nptl/descr.h | 20 +----
nptl/pthread_create.c | 2 +-
sysdeps/generic/dl-rseq.h | 26 ++++++
sysdeps/generic/ldsodefs.h | 12 +++
sysdeps/i386/nptl/tcb-access.h | 56 +++++++++++++
sysdeps/nptl/dl-tls_init_tp.c | 22 +++--
sysdeps/nptl/tcb-access.h | 5 ++
sysdeps/unix/sysv/linux/Makefile | 10 +++
sysdeps/unix/sysv/linux/Versions | 3 +
sysdeps/unix/sysv/linux/aarch64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/alpha/ld.abilist | 1 +
sysdeps/unix/sysv/linux/arc/ld.abilist | 1 +
sysdeps/unix/sysv/linux/arm/be/ld.abilist | 1 +
sysdeps/unix/sysv/linux/arm/le/ld.abilist | 1 +
sysdeps/unix/sysv/linux/csky/ld.abilist | 1 +
sysdeps/unix/sysv/linux/dl-parse_auxv.h | 6 ++
sysdeps/unix/sysv/linux/hppa/ld.abilist | 1 +
sysdeps/unix/sysv/linux/i386/ld.abilist | 1 +
.../unix/sysv/linux/loongarch/lp64/ld.abilist | 1 +
.../unix/sysv/linux/m68k/coldfire/ld.abilist | 1 +
.../unix/sysv/linux/m68k/m680x0/ld.abilist | 1 +
sysdeps/unix/sysv/linux/microblaze/ld.abilist | 1 +
.../unix/sysv/linux/mips/mips32/ld.abilist | 1 +
.../sysv/linux/mips/mips64/n32/ld.abilist | 1 +
.../sysv/linux/mips/mips64/n64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/nios2/ld.abilist | 1 +
sysdeps/unix/sysv/linux/or1k/ld.abilist | 1 +
.../sysv/linux/powerpc/powerpc32/ld.abilist | 1 +
.../linux/powerpc/powerpc64/be/ld.abilist | 1 +
.../linux/powerpc/powerpc64/le/ld.abilist | 1 +
sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist | 1 +
sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/rseq-internal.h | 33 +++++++-
.../unix/sysv/linux/s390/s390-32/ld.abilist | 1 +
.../unix/sysv/linux/s390/s390-64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/sched_getcpu.c | 3 +-
sysdeps/unix/sysv/linux/sh/be/ld.abilist | 1 +
sysdeps/unix/sysv/linux/sh/le/ld.abilist | 1 +
.../unix/sysv/linux/sparc/sparc32/ld.abilist | 1 +
.../unix/sysv/linux/sparc/sparc64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/sys/rseq.h | 4 +
.../unix/sysv/linux/tst-rseq-disable-static.c | 1 +
sysdeps/unix/sysv/linux/tst-rseq-disable.c | 18 ++--
.../unix/sysv/linux/tst-rseq-nptl-static.c | 1 +
sysdeps/unix/sysv/linux/tst-rseq-static.c | 1 +
sysdeps/unix/sysv/linux/tst-rseq.c | 24 +++++-
sysdeps/unix/sysv/linux/tst-rseq.h | 9 +-
sysdeps/unix/sysv/linux/x86_64/64/ld.abilist | 1 +
sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist | 1 +
sysdeps/x86_64/nptl/tcb-access.h | 56 +++++++++++++
58 files changed, 557 insertions(+), 54 deletions(-)
create mode 100644 csu/rseq-sizes.sym
create mode 100644 elf/dl-rseq-symbols.S
create mode 100644 sysdeps/generic/dl-rseq.h
create mode 100644 sysdeps/unix/sysv/linux/tst-rseq-disable-static.c
create mode 100644 sysdeps/unix/sysv/linux/tst-rseq-nptl-static.c
create mode 100644 sysdeps/unix/sysv/linux/tst-rseq-static.c
--
2.34.1
next reply other threads:[~2024-02-27 15:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 15:55 Michael Jeanson [this message]
2024-02-27 15:55 ` [PATCH 1/4] nptl: fix potential merge of __rseq_* relro symbols Michael Jeanson
2024-03-01 4:08 ` DJ Delorie
2024-03-21 17:55 ` Michael Jeanson
2024-02-27 15:55 ` [PATCH 2/4] Add rseq extensible ABI support Michael Jeanson
2024-03-01 20:16 ` DJ Delorie
2024-02-27 15:55 ` [PATCH 3/4] nptl: Add public __rseq_feature_size symbol Michael Jeanson
2024-03-01 20:58 ` DJ Delorie
2024-02-27 15:55 ` [PATCH 4/4] nptl: Add features to internal 'struct rseq_area' Michael Jeanson
2024-03-01 20:58 ` DJ Delorie
2024-02-27 15:57 ` [PATCH 0/4] Extend rseq support Michael Jeanson
2024-03-25 14:01 ` Carlos O'Donell
2024-03-25 18:31 ` Michael Jeanson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240227155533.298617-1-mjeanson@efficios.com \
--to=mjeanson@efficios.com \
--cc=carlos@redhat.com \
--cc=dj@redhat.com \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).