%fs, %gs and ldt

Daniel Eischen eischen at vigrid.com
Mon Mar 8 05:59:32 PST 2004


On Mon, 8 Mar 2004 toposoph-space at yahoo.com wrote:

> Hi,
> 
> Is there any version of ABI which specifies %fs, %gs and ldt usage on
> ia32 for *nix? Or any FreeBSD specification? I see that Nvidia driver
> uses them, that there is some compatibility with Linux, that FreeBSD
> kernel did not save %gs on context switch recently and not does %gs
> processing, etc., etc. But I can not find what is the general idea of
> using those things or what is intend for future usage.
> Thank you in advance for any info,

See http://people.redhat.com/~drepper/tls.pdf

We're working towards adopting that by 5.3-release.

-- 
Dan Eischen



More information about the freebsd-threads mailing list