Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754516AbaDVT2A (ORCPT ); Tue, 22 Apr 2014 15:28:00 -0400 Received: from mail.skyhub.de ([78.46.96.112]:51314 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751924AbaDVT16 (ORCPT ); Tue, 22 Apr 2014 15:27:58 -0400 Date: Tue, 22 Apr 2014 21:27:52 +0200 From: Borislav Petkov To: Andrew Lutomirski Cc: "H. Peter Anvin" , Linus Torvalds , "H. Peter Anvin" , Linux Kernel Mailing List , Ingo Molnar , Alexander van Heukelum , Konrad Rzeszutek Wilk , Boris Ostrovsky , Arjan van de Ven , Brian Gerst , Alexandre Julliard , Andi Kleen , Thomas Gleixner Subject: Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE* Message-ID: <20140422192752.GH15882@pd.tnic> References: <20140422144659.GF15882@pd.tnic> <53569467.1030809@zytor.com> <5356A2BF.2060609@zytor.com> <20140422172630.GG15882@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 22, 2014 at 10:29:45AM -0700, Andrew Lutomirski wrote: > Or we could add a TIF_NEEDS_ESPFIX that gets set once you have a > 16-bit LDT entry. Or something like that, yep. > But I think it makes sense to nail down everything else first. I > suspect that a single test-and-branch in the iret path will be lost in > the noise from iret itself. The cumulative effects of such additions here and there are nasty though. If we can make the general path free relatively painlessly, we should do it, IMO. But yeah, later. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- 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/