about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/mydefs.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-09-28 10:24:06 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-11-29 18:19:31 -0300
commitc644b43efe494c57a58aa532d4686375d5e6ecbf (patch)
treec98a856ad0f7c8d71f6c278edc21726663c6c0e4 /sysdeps/ieee754/dbl-64/mydefs.h
parent1aa2f565f8911f407bed88d7f7372b80aca54871 (diff)
downloadglibc-azanella/posix_spawn-clone3.tar.gz
glibc-azanella/posix_spawn-clone3.tar.xz
glibc-azanella/posix_spawn-clone3.zip
Linux: optimize clone3 internal usage azanella/posix_spawn-clone3
Now that clone3 is used on more architectures, add an optimization
to avoid calling when glibc detects that it is no supported by the
kernel.  It also adds __ASSUME_CLONE3, which allows skip this
optimization and issue clone3 syscall directly.

It does not handle the the small window between 5.3 and 5.5 for
posix_spawn (CLONE_CLEAR_SIGHAND was added in 5.5).

Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mydefs.h')
0 files changed, 0 insertions, 0 deletions