[Pixman] static TLS is a scarce resource

Simon Richter Simon.Richter at hogyros.de
Fri Jun 21 15:07:41 UTC 2019


Hi,

On Fri, Jun 21, 2019 at 04:44:08PM +0200, Dan HorĂ¡k wrote:

> Is there anything pixman could do to lower its
> consumption of TLS? Because it's only a matter of time when the "static
> TLS allocation" error will appear again in another complex application.

TLS accesses are also very slow on some platforms. It is meant to store a
pointer to a per-thread singleton containing the actual data, so that would
use 4 or 8 bytes per module that uses TLS.

   Simon


More information about the Pixman mailing list