Subject: Re: lib/26900: pthread should save/restore %fs resgister on i386
To: Charles M. Hannum <abuse@spamalicious.com>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: port-i386
Date: 10/01/2004 18:22:00
Charles M. Hannum wrote:
> That would be an incorrect assumption.  The ABI knows that very little code 
> uses %fs and %gs on x86.  It was also written in the days of the 386, when 
> saving and restoring segment registers was very expensive.

So, any harm if we do save & restore them on thread switch?

Jaromir 

-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-