about summary refs log tree commit diff
path: root/nptl/tst-tls3.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-01-05 18:12:36 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2023-01-06 10:03:51 +0000
commit807b692012ae921ac388cb2ea852645ee2ce4027 (patch)
treeb0078cd754eb708dd2dfe14f0f06c56bcf610418 /nptl/tst-tls3.c
parentbbce0c75f35f55b9f5e43dd4fa01a82cc27bf020 (diff)
downloadglibc-807b692012ae921ac388cb2ea852645ee2ce4027.tar.gz
glibc-807b692012ae921ac388cb2ea852645ee2ce4027.tar.xz
glibc-807b692012ae921ac388cb2ea852645ee2ce4027.zip
cheri: malloc: Use memcpy for obstack internal copy
Internally obstack used a backward word at a time copy.  This can be
an aliasing violation and likely slower than memcpy on most targets.
The code is a badly written memcpy with performance issues such as
the h->object_base indirection cannot be hoisted out of the loop.

On CHERI architecture this is needed for copying pointers correctly.
Diffstat (limited to 'nptl/tst-tls3.c')
0 files changed, 0 insertions, 0 deletions