Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

From: Ivan Voras <ivoras_at_fer.hr>
Date: Wed, 17 Jan 2007 00:09:09 +0100
Kip Macy wrote:
> On 1/16/07, Ivan Voras <ivoras_at_fer.hr> wrote:
>> But it does seem to hurt the performance a bit - maybe it's time to add
>> another CPU option like I586_CPU and I686_CPU?
> 
> Unless there is a compelling reason not to do so, I think that that
> would be a good idea.

Maybe even someone finds a way to get optimized versions of memcpy in
the kernel :)

I was thinking: AFAIK the only major stopper is context saving of the
various "auxiliary" registers - FPU, MMX, SSE, right? But is it an
all-or-nothing situation? I.e. does it make sense (can it be done?) to
just elect to save the MMX context? (AFAIK they are different registers
than SSE, but overlay FPU registers?) The idea is to save something
smaller than the full set.



Received on Tue Jan 16 2007 - 22:05:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC