[DGD] TLS curiosities

Blain blain20 at gmail.com
Tue Dec 9 00:17:27 CET 2014


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