aboutsummaryrefslogtreecommitdiff
path: root/nptl/futex-internal.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-21 14:03:00 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-21 14:03:00 +0000
commit3b17937e6437fe16e799e61d7e6ee99352741209 (patch)
tree2ba5f35ce55d7b8c2dd086337621d9ea4cef80df /nptl/futex-internal.c
parent3e2be87832781a29ed67f38f87c1ce3dd4c1b866 (diff)
downloadglibc-azanella/cancel-wrappers-inline.zip
glibc-azanella/cancel-wrappers-inline.tar.gz
glibc-azanella/cancel-wrappers-inline.tar.bz2
linux: Inline __syscall_internal_cancel and __syscall_cancelazanella/cancel-wrappers-inline
It improves some interception tools such as valgrind, however on multithread the __syscall_cancel_arch is called. The result libc.so has a slight larger code size: ABI master patched diff increase aarch64 1658673 1669121 10448 0.63% x86_64 1976656 1985744 9088 0.46% i686 2233622 2251130 17508 0.78% powerpc64le 2382448 2396768 14320 0.60% It mimics internally how cancellable entrypoints were implemented before 89b53077d2a58f00e7debdfe58afabe953dac60d, where cancellation handlign were done inline in the syscall wraper.
Diffstat (limited to 'nptl/futex-internal.c')
-rw-r--r--nptl/futex-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/futex-internal.c b/nptl/futex-internal.c
index b81ca07..6d8ef73 100644
--- a/nptl/futex-internal.c
+++ b/nptl/futex-internal.c
@@ -17,7 +17,7 @@
<https://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <sysdep.h>
+#include <sysdep-cancel.h>
#include <time.h>
#include <futex-internal.h>
#include <kernel-features.h>