Subject: Re: CVS commit: src/sys/arch/i386/i386
To: David Laight <david@l8s.co.uk>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 12/02/2007 16:05:18
On Sun, Dec 02, 2007 at 12:07:05AM +0000, David Laight wrote:

> On Sat, Dec 01, 2007 at 10:34:28PM +0000, Andrew Doran wrote:
> > 
> > Xintr_lapic_tlb_bcast: saving and restoring %ds may take up to 100 cycles.
> 
> outch!

That was the saving I got on a 'netburst' core when I eliminated the reload
of %gs from the syscall path and moved it into cpu_switchto (possible
because nothing in the kernel uses %gs).

Andrew