Re: [PATCH] Re: SSE related security hole

Linus Torvalds (torvalds@transmeta.com)
Sat, 20 Apr 2002 12:30:02 -0700 (PDT)


On Sat, 20 Apr 2002, Andrea Arcangeli wrote:
>
> Well, my preferred patch is still this one :)

But this one simply will not get applied, for all the reasons already
outlined. It _will_ cause the same problems that it tries to fix, just at
some later time.

Besides, I seriously doubt it is any faster than what is there already.

Time it, and notice how:

- fninit takes about 200 cycles
- fxrstor takes about 215 cycles

and your added 16*(pxor/xorps) likely takes at least 8 cycles.

In short, your "fast" code isn't actually any faster than doing it right.

Linus

-
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/