[0/5] Add clone3 support for multiple architectures

Message ID 20230203171237.1220878-1-adhemerval.zanella@linaro.org (mailing list archive)
Headers
Series Add clone3 support for multiple architectures |

Message

Adhemerval Zanella Feb. 3, 2023, 5:12 p.m. UTC
  It enables the posix_spawn optimization on newer kernels.

Adhemerval Zanella (5):
  powerpc64: Add the clone3 wrapper
  s390x: Add the clone3 wrapper
  riscv: Add the clone3 wrapper
  arm: Add the clone3 wrapper
  mips: Add the clone3 wrapper

 sysdeps/unix/sysv/linux/arm/clone3.S          |  80 +++++++++
 sysdeps/unix/sysv/linux/arm/sysdep.h          |   1 +
 sysdeps/unix/sysv/linux/mips/clone3.S         | 139 ++++++++++++++++
 sysdeps/unix/sysv/linux/mips/sysdep.h         |   2 +
 .../sysv/linux/powerpc/powerpc64/clone3.S     | 157 ++++++++++++++++++
 sysdeps/unix/sysv/linux/powerpc/sysdep.h      |   1 +
 sysdeps/unix/sysv/linux/riscv/clone3.S        |  80 +++++++++
 sysdeps/unix/sysv/linux/riscv/sysdep.h        |   1 +
 sysdeps/unix/sysv/linux/s390/s390-64/clone3.S |  81 +++++++++
 sysdeps/unix/sysv/linux/s390/sysdep.h         |   1 +
 10 files changed, 543 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/powerpc/powerpc64/clone3.S
 create mode 100644 sysdeps/unix/sysv/linux/riscv/clone3.S
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/clone3.S