diff options
| author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-07-17 16:54:15 +0100 |
|---|---|---|
| committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-07-08 09:41:44 +0100 |
| commit | a6d1efba9efe454cac27c00f8d8c7515a8b95a19 (patch) | |
| tree | 22218b3e170ba7681a0204b61910dd92851ae497 /malloc/alloc_buffer_alloc_array.c | |
| parent | 44dd695c702bab0bf987812cc8eba0f5d3377c48 (diff) | |
| download | glibc-a6d1efba9efe454cac27c00f8d8c7515a8b95a19.tar.xz glibc-a6d1efba9efe454cac27c00f8d8c7515a8b95a19.zip | |
aarch64: Try to free the GCS of makecontext
Free GCS after a makecontext start func returns and at thread exit, so
assume makecontext cannot outlive the thread where it was created.
This is an attempt to bound the lifetime of the GCS allocated for
makecontext, but it is still possible to have significant GCS leaks,
new GCS aware APIs could solve that, but that would not allow using
GCS with existing code transparently.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
