thread-ready ABIs

Jakub Jelinek jakub@redhat.com
Fri Jan 18 08:17:00 GMT 2002


On Fri, Jan 18, 2002 at 08:07:15AM -0800, Ulrich Drepper wrote:
> Andi Kleen <ak@suse.de> writes:
> 
> > On x86-64 we have the situation that context switches get somewhat more 
> > expensive as soon as thread registers are used. It would be nice if 
> > use of thread registers in non threaded programs could be avoided.
> 
> Not possible.

But what can be certainly done is not use %gs as thread register on x86-64,
but instead %r13 or whatever you choose in the ABI.

	Jakub



More information about the Libc-hacker mailing list