Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4658536imu; Mon, 12 Nov 2018 14:57:41 -0800 (PST) X-Google-Smtp-Source: AJdET5cZIl/Mms6vRH3mvn2PIMQyXrO86w81Fc688jjh0XRT2IkzDoO4NJVhbM/0q6HbaV+PMFFB X-Received: by 2002:a63:df13:: with SMTP id u19mr2513696pgg.294.1542063461810; Mon, 12 Nov 2018 14:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542063461; cv=none; d=google.com; s=arc-20160816; b=UYOu7y+6BNqKTspeJpeWlIIwruwjdUZzjQnOu2ZRVJeDbZVYc40kqhErPvfpUJtWuc C/gDp/QYQxgqDGiagtsNpQNCZ3rXoCOKM8izAN+4exjBP3k2EWDAcT4jp/l6ZtTT+8As fcB0Z1rufzCp82PQjsBZVVBEh88LsBkg5i/FOh05+92ptlxcgquLIX9BlDBq7E+NmtVA 8GhrO/EYVwDobtKLHPhvIsqCjymPrt1/FOZwr2GDqJ1wISXUSfFEFPDEDyZ+GHuIHJFV uLO6bhI0+m258QWgAMLN9oXdCi0AcWqpnzd4LcSj+aPYEm400/FauWWxgGHG5O2JOfRF Dc3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=e2ds20fL1FiMA1+vfS/X8y4YQreNcVFnIPG3YxobRj0=; b=Ivs7e2t7+PsjyMoMgWpOrmN24Mwj5vY/Q/2qyPtl98Q6zhcckh1EvoWLOqqEJY9VD8 /I8P4ulfHBoJnN2DzcfLrtjE+/HugMZ6T+oaIRDesKSV3Fc+3bd1BZwJjvTIFWVcWHEy 7Zq7Db1hKb3AAFbSc5fyh1p4/Z1Q2MgMgVPvrZTtWy6crn6lHNqLRBk/3RqKpiSeTiUA DMVHP/GX4rZ6bSP7WwEv8IYr8gKDQJUqYyYw6qwhTcZ0N4xnjNLeRJ36KlFF3uOFLOox rzMWJDCmdMhAnw2bDGKr7m3XfyJmXeiWARxjJEEzpi0lC/cT9uSEK8pcayQUym7eLfOO P60w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15-v6si20039883pfr.242.2018.11.12.14.57.25; Mon, 12 Nov 2018 14:57:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727555AbeKMIv5 (ORCPT + 99 others); Tue, 13 Nov 2018 03:51:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38920 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbeKMIv4 (ORCPT ); Tue, 13 Nov 2018 03:51:56 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E967A811C0; Mon, 12 Nov 2018 22:56:40 +0000 (UTC) Received: from treble (ovpn-121-1.rdu2.redhat.com [10.10.121.1]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F0235D739; Mon, 12 Nov 2018 22:56:38 +0000 (UTC) Date: Mon, 12 Nov 2018 16:56:35 -0600 From: Josh Poimboeuf To: Steven Rostedt Cc: Ingo Molnar , linux-kernel@vger.kernel.org, x86@kernel.org, Ard Biesheuvel , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Linus Torvalds , Masami Hiramatsu , Jason Baron , Jiri Kosina , David Laight , Borislav Petkov , Juergen Gross Subject: Re: [PATCH RFC 0/3] Static calls Message-ID: <20181112225635.yw7ympmp2wehbpki@treble> References: <20181109072811.GB86700@gmail.com> <20181109144501.aqhcv3vdjuqlp7pz@treble> <20181112050241.GB28219@gmail.com> <20181112053055.hdcv5x7md47ehunv@treble> <20181112120334.7526ce24@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181112120334.7526ce24@vmware.local.home> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 12 Nov 2018 22:56:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 12:03:34PM -0500, Steven Rostedt wrote: > On Sun, 11 Nov 2018 23:30:55 -0600 > Josh Poimboeuf wrote: > > > > How much of that slowdown is reversed? > > > > In theory, it should reverse all of the slowdown, and actually may even > > speed it up a little. Steve is working on measuring that now. > > When I'm able to get it to work! Hopefully that last patch snippet you > posted will help. If not, I'm assuming you'll be in Vancouver this > week, and we could sit down and work it out. Sure, I'm already in Vancouver. Just grab me if you see me, or ping me on IRC/email. Or feel free to send me your patches if it's still giving you trouble. > That said, I don't expect a 100% improvement. Because the retpoline > causes slow down in other areas than just tracing, which is not being > fixed by this. I'm expecting a substantial improvement (which I see > good improvement with the unoptimized static calls), and hoping for > much more with the optimized one (when I get it working). But not 100%, > as stated above. Ah, ok. Makes sense. -- Josh