Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965036AbbD0Tpc (ORCPT ); Mon, 27 Apr 2015 15:45:32 -0400 Received: from mail.skyhub.de ([78.46.96.112]:49574 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932896AbbD0Tpa (ORCPT ); Mon, 27 Apr 2015 15:45:30 -0400 Date: Mon, 27 Apr 2015 21:45:12 +0200 From: Borislav Petkov To: Denys Vlasenko Cc: Linus Torvalds , Andy Lutomirski , Andy Lutomirski , X86 ML , "H. Peter Anvin" , Denys Vlasenko , Brian Gerst , Ingo Molnar , Steven Rostedt , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , Linux Kernel Mailing List Subject: Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue Message-ID: <20150427194512.GK28871@pd.tnic> References: <20150427085305.GB6774@pd.tnic> <20150427113506.GG6774@pd.tnic> <20150427154631.GB28871@pd.tnic> <20150427164024.GD28871@pd.tnic> <20150427183854.GG28871@pd.tnic> <20150427191145.GJ28871@pd.tnic> <553E8C3E.8040701@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <553E8C3E.8040701@redhat.com> 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 Content-Length: 1580 Lines: 36 On Mon, Apr 27, 2015 at 09:21:34PM +0200, Denys Vlasenko wrote: > On 04/27/2015 09:11 PM, Borislav Petkov wrote: > > A: 709.528485252 seconds time elapsed ( +- 0.02% ) > > B: 708.976557288 seconds time elapsed ( +- 0.04% ) > > C: 709.312844791 seconds time elapsed ( +- 0.02% ) > > D: 709.400050112 seconds time elapsed ( +- 0.01% ) > > E: 708.914562508 seconds time elapsed ( +- 0.06% ) > > F: 709.602255085 seconds time elapsed ( +- 0.02% ) > > That's about 0.2% variance. Very small. Right, I'm doubtful this is the right workload for this. And actually if even any workload would show any serious difference. Perhaps it all doesn't really matter and we shouldn't do anything at all. > Sounds obvious, but. Did you try running a test several times? All runs so far are done with perf state ... --repeat 10 so, 10 kernel builds and results are averaged. > Maybe you are measuring random noise. Yeah. Last exercise tomorrow. Let's see what those numbers would look like. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- 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/