Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 20 Apr 2002 15:30:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 20 Apr 2002 15:30:31 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:63492 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sat, 20 Apr 2002 15:30:29 -0400 Date: Sat, 20 Apr 2002 12:30:02 -0700 (PDT) From: Linus Torvalds To: Andrea Arcangeli cc: Brian Gerst , "H. Peter Anvin" , , , Subject: Re: [PATCH] Re: SSE related security hole In-Reply-To: <20020420201205.M1291@dualathlon.random> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/