Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4318742imu; Mon, 12 Nov 2018 09:06:28 -0800 (PST) X-Google-Smtp-Source: AJdET5dnCb0GSj2eiOI60+qxuYKDQA941Pxu55BFwXMDzV3JTiIlVSNs2VbZKNKN5eZGNFm40Euo X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr1659347plp.334.1542042388727; Mon, 12 Nov 2018 09:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542042388; cv=none; d=google.com; s=arc-20160816; b=W7a5kJJSlotubOSpNHggcE9rKmbsHMoXoLkvZL8Q33cuaFRmbj1eOhmRwVrfEBSX7k 3rgcLfNKUmqo0QOymv1DcxplOx4DVBcJT977RbtWWj3UY2gffbMp5w+yuAmd6Bhiw46t 9UWDVh32HQ1UAeYc6PqhW0689heDOveZi9di0c7GgGO6BJSHm6iy7CqrAjP6sR8Kum4E 1VQqfgzoo/h2faIZqyUGdVlZm6b+CNFueYLQ38siS0tku37Ou1OZpKbNsdTL7HW6ry8M Wwvyp4NjDGoRW/7C4wL2KIl81tseywI4cciF68ZmKZVOmCPzu/qa6V2xYlX1/dwJnbN9 WRbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=QFoPh30cbvgweiKHhHCnUNNaDS1PNX3qpy6AEPBiYlE=; b=twg7Mfm8dJJYchORPR62PsAd38mbcuRre3FoUJhzSx8N4cbULvj3J1uiuouirUNq03 JXMP2sQZGunkK+9G6T7WKFCR1i3raCu+1U+oela0sVlzzjAIlcT43/xECjhw04fCNg1B 4UaPIgiM/9ECVSe5k/jzlD+axn5Cruc3a8ywsTH/BlcJE3hBuiIcXDqOf4pyI/F95rXj RfDjlnDbdtJy9guceJi0LFW9fxY1woqYRjlLo7p727aIiZWlXYTicXQ5a21EQAr0tceo VUoL6z6ejr6gTL/PTgVhdPHU9YPWgtjQkwFSbmZrh5/CMHYdGhi3MxLK4l/gsTh/KHak hMBQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3-v6si17616556plp.323.2018.11.12.09.06.09; Mon, 12 Nov 2018 09:06:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729879AbeKMC5m (ORCPT + 99 others); Mon, 12 Nov 2018 21:57:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:45180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727130AbeKMC5m (ORCPT ); Mon, 12 Nov 2018 21:57:42 -0500 Received: from vmware.local.home (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E34D522419; Mon, 12 Nov 2018 17:03:35 +0000 (UTC) Date: Mon, 12 Nov 2018 12:03:34 -0500 From: Steven Rostedt To: Josh Poimboeuf 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: <20181112120334.7526ce24@vmware.local.home> In-Reply-To: <20181112053055.hdcv5x7md47ehunv@treble> References: <20181109072811.GB86700@gmail.com> <20181109144501.aqhcv3vdjuqlp7pz@treble> <20181112050241.GB28219@gmail.com> <20181112053055.hdcv5x7md47ehunv@treble> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. -- Steve