]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: Add GCS user-space allocation logic
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 28 Aug 2024 10:21:19 +0000 (11:21 +0100)
committerYury Khrustalev <yury.khrustalev@arm.com>
Mon, 20 Jan 2025 09:36:19 +0000 (09:36 +0000)
commit3d8da0d91b0998855c1da14180078d1379442d32
tree2ebb968597a2070fa58c56f14447a2e061571eac
parentd3df351338ce275b6c0fd9cb1c01a7d8eceedb47
aarch64: Add GCS user-space allocation logic

Allocate GCS based on the stack size, this can be used for coroutines
(makecontext) and thread creation (if the kernel allows user allocated
GCS).

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
sysdeps/aarch64/Makefile
sysdeps/aarch64/__alloc_gcs.c [new file with mode: 0644]
sysdeps/aarch64/aarch64-gcs.h [new file with mode: 0644]