Re: Restartable Sequences system call merged into Linux

From: Florian Weimer
Date: Mon Jun 11 2018 - 15:55:47 EST


On 06/11/2018 09:49 PM, Mathieu Desnoyers wrote:
It should be noted that there can be only one rseq TLS area registered per thread,
which can then be used by many libraries and by the executable, so this is a
process-wide (per-thread) resource that we need to manage carefully.

Is it possible to resize the area after thread creation, perhaps even from other threads?

If there is only one contiguous area, this generally means there needs to be linker support, similar to what we have for initial-exec TLS today.

Thanks,
Florian