[DGD] TLS curiosities
Blain
blain20 at gmail.com
Tue Dec 9 00:23:17 CET 2014
I noticed my error in forgetting that tls size is 3 at a minimum if unset.
But I'm still curious if I should avoid these first three.
On Mon, Dec 8, 2014 at 5:17 PM, Blain <blain20 at gmail.com> wrote:
> In the kernel, the TLS allocation size starts off as 0. When set by me,
> the number actually set is increased by 3. What are these 3 extra elements
> intended for? Also, given that certain parts of the kernel use the TLS,
> should I always leave room for TLSVAR2 and 3 and start with, e.g., storing
> "this_user" in 4 to avoid overwriting?
>
> --Blain
>
More information about the DGD
mailing list