This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 4/4] rseq registration tests (v2)
On 4/5/19 3:43 PM, Florian Weimer wrote:
* Carlos O'Donell:
A call to pthread_join does not re-evaluate the stack cache limits and does
not free anything from the cache.
Are you sure? I assumed that we have this call stack:
And since we call __free_tcb only after the futex wait on the TID
completes, free_stacks observe the stack of the just-joined thread as
(CC list trimmed)
You are correct. Thanks for noting the call to queue_stacks in
__deallocate_stack, I missed that, I thought we added directly
to the cache.