Re: SSE related security hole

H. Peter Anvin (hpa@zytor.com)
Fri, 19 Apr 2002 14:35:57 -0700 (PDT)


>>
>> Ummm...last I knew, fxrstor is *expensive*. The fninit/xor regs setup
>> is likely *very* much faster. Someone should check this before we
>> sacrifice 100 cycles needlessly or something.
>
> most probably yes, fxrestor needs to read ram, pxor also takes some
> icache and bytecode ram but it sounds like it will be faster.
>
> Maybe we could also interleave the pxor with the xorps, since they uses
> different parts of the cpu, Honza?
>

You almost certainly should. The reason I suggested FXRSTOR is that it
would initialize the entire FPU, including any state that future
processors may add, thus reducing the likelihood of any funnies in the
future.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/