public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add clone3 support for multiple architectures
@ 2023-07-10 18:40 Adhemerval Zanella
  2023-07-10 18:40 ` [PATCH v2 1/4] s390x: Add the clone3 wrapper Adhemerval Zanella
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-07-10 18:40 UTC (permalink / raw)
  To: libc-alpha

It enables the posix_spawn optimization on newer kernels.

Changes from v1:
- Fixed mips SETUP_GP64_STACK.
- Undef __ASSUME_CLONE3 for arch that do not support clone3.

Adhemerval Zanella (4):
  s390x: Add the clone3 wrapper
  arm: Add the clone3 wrapper
  mips: Add the clone3 wrapper
  linux: Undef __ASSUME_CLONE3 for alpha, ia64, nios2, sh, and sparc

 .../unix/sysv/linux/alpha/kernel-features.h   |   3 +
 sysdeps/unix/sysv/linux/arm/clone3.S          |  80 ++++++++++
 sysdeps/unix/sysv/linux/arm/sysdep.h          |   1 +
 .../unix/sysv/linux/ia64/kernel-features.h    |   3 +
 sysdeps/unix/sysv/linux/mips/clone3.S         | 139 ++++++++++++++++++
 sysdeps/unix/sysv/linux/mips/sysdep.h         |   2 +
 .../unix/sysv/linux/nios2/kernel-features.h   |  23 +++
 sysdeps/unix/sysv/linux/s390/s390-64/clone3.S |  81 ++++++++++
 sysdeps/unix/sysv/linux/s390/sysdep.h         |   1 +
 sysdeps/unix/sysv/linux/sh/kernel-features.h  |   3 +
 .../unix/sysv/linux/sparc/kernel-features.h   |   3 +
 11 files changed, 339 insertions(+)
 create mode 100644 sysdeps/unix/sysv/linux/arm/clone3.S
 create mode 100644 sysdeps/unix/sysv/linux/mips/clone3.S
 create mode 100644 sysdeps/unix/sysv/linux/nios2/kernel-features.h
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/clone3.S

-- 
2.34.1


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

end of thread, other threads:[~2023-07-13 11:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10 18:40 [PATCH v2 0/4] Add clone3 support for multiple architectures Adhemerval Zanella
2023-07-10 18:40 ` [PATCH v2 1/4] s390x: Add the clone3 wrapper Adhemerval Zanella
2023-07-12 14:51   ` Stefan Liebler
2023-07-12 18:08     ` Adhemerval Zanella Netto
2023-07-13  9:30       ` Stefan Liebler
2023-07-13 11:52         ` Adhemerval Zanella Netto
2023-07-10 18:40 ` [PATCH v2 2/4] arm: " Adhemerval Zanella
2023-07-10 18:40 ` [PATCH v2 3/4] mips: " Adhemerval Zanella
2023-07-10 18:40 ` [PATCH v2 4/4] linux: Undef __ASSUME_CLONE3 for alpha, ia64, nios2, sh, and sparc 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).