Date: Mon, 16 Jun 2003 22:33:58 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Gareth Hughes <gareth@nvidia.com> Cc: Daniel Eischen <eischen@pcnet.com> Subject: Re: NVIDIA and TLS Message-ID: <3EEEA846.DD3F3C7B@mindspring.com> References: <2D32959E172B8F4D9B02F68266BE421401A6D7D1@mail-sc-3.nvidia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gareth Hughes wrote: > Or, better yet, to make sure no problems arise when you change the internals > of your data structures: > > %gs ----->[libGL stuff (16 words, say) ] > [threadsystem-thread-specific-data] > [ stuff ] > > You reserve the first 16 words of your thread data structure for us, and > we're done. At least when this library is being used. This would really suck on most systems because of the cache line misses. The thread specific data for the threading system wants to be in a cache line aligned memory location, and not exceed a cache line in length. You are running multiple threads: surely it's more important, in general, for threads context switch to be fast from your perspective? -- Terry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EEEA846.DD3F3C7B>
