[PATCH v15 6/8] nptl: Move the rseq area to the 'extra TLS' block
Florian Weimer
fweimer@redhat.com
Wed Jan 8 09:40:24 GMT 2025
* Michael Jeanson:
> +#if TLS_TCB_AT_TP
> + /* The rseq area block should come before the thread pointer and be at least
> + 32 bytes. */
> + TEST_VERIFY (__rseq_offset <= -RSEQ_AREA_SIZE_INITIAL);
> +#elif TLS_DTV_AT_TP
> + /* The rseq area block should come after the thread pointer. */
> + TEST_VERIFY (__rseq_offset + TLS_TP_OFFSET >= 0);
I think the TLS_TP_OFFSET is redudant here. It's supposed have already
been folded into __rseq_offset. It certainly was before because a
pointer difference was used to compute it.
Thanks,
Florian
More information about the Libc-alpha
mailing list