Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3622140yba; Mon, 29 Apr 2019 05:54:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLJlA1fkVNAug9I15VNt0Ry5y2v0KdB4pnNU6pobfrXUB5aFJUTcCI5ajtk+2sbWItj1Gv X-Received: by 2002:a63:d347:: with SMTP id u7mr8931708pgi.254.1556542476079; Mon, 29 Apr 2019 05:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556542476; cv=none; d=google.com; s=arc-20160816; b=XeIol0D9YiOE7hrAmEKwCQsuqV3ZPLraYG954b0Fz3flT2c7GAPcqOSBVCZISdwi/4 s8C/GWndy5g2Tr5DbnkHQ1ivRPBY7XCN9sKbzrzPQJQuNZQERLhXm5riTZhvCJkfoH6R jcUq7tn+DpHOItO9vFlc4K4Q9BnfNjmwU5XhAf2PRlijsjPSlniOMUcrFMTgD7faHdKI oCghWTyycsLAIXS1WKg42Ywu/irb/EjtK1aavVdAL8Rp3XoqCRAWJtdX4BWS1r074UKQ y04bToAawP/BZ7zfnWZSpQfU+/EuK98R/WqZWVHEu8qEEE6RJtiCC40Cl1SGrFctFTuF IhcA== 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:dkim-signature:dkim-signature; bh=7t6HCb5MIvBwPGd9lLqnMAnD0ENqZfjKArzh/jOYawQ=; b=pYRubsTv7JLjye5hCKbjDo2wKcyTDNvRZNushix1zrW49VKUUv7+9PAjklqC5sL24s 6nx9F8Y74xRMpSWdxR7+r2dfYWyxyeAbGPDQ1eoFde1evezKnEE9U1vMj+391mg11fGe qnz8iGL9ntX8jz8b4FqGWTew2iggPF+S3jPLVUVRX/PnvMEM+aZQjNgmKWPxo7YlD+Rp fG4CPQbc4w+U9R/43HjjOVT3FS4qSIMa0XiNecMGG6TdmomcL+DYz2M8j9YZE9HJTOSL z93EDuaYI5ul0pRw5Hvn+/Mk8+b9/KdpAlppafr3bXQ6EaN/7iDsfqEsHmEORiQHJH9J MN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=pQSkpTK4; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=p8H23UJw; 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 b8si33232328pfd.55.2019.04.29.05.54.20; Mon, 29 Apr 2019 05:54:36 -0700 (PDT) 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; dkim=pass header.i=@kroah.com header.s=fm3 header.b=pQSkpTK4; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=p8H23UJw; 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 S1728128AbfD2Mx3 (ORCPT + 99 others); Mon, 29 Apr 2019 08:53:29 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:43099 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727764AbfD2Mx3 (ORCPT ); Mon, 29 Apr 2019 08:53:29 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 05BFD1712C; Mon, 29 Apr 2019 08:53:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 29 Apr 2019 08:53:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=7t6HCb5MIvBwPGd9lLqnMAnD0EN qZfjKArzh/jOYawQ=; b=pQSkpTK4Nkx+LOcWY6XPnQlB1rcCXgwe9VKB0vFHN0/ uP43e5DhHA8tnuNAGk6n48DtBbVmJhaQ2aw6p2pimUmHcdAZ/u2nH66ZXn2MwFpS W66zeSBJxgqaNO1Gz/LWHyf1Afkd/Iriwf+GPVol/ODl/GumFLX2B7ot3o2O6H9b 6DVNI9YB4+1YT3WplleBtu8JB6piIO6XTtI52NVTp26i0OIHf6Iof7dVzwOekg4/ TvgAcCexMkqbrJcCr2DgVwG0TDKuv3Q+UqVvKwu+YTXJ34vp4hCgUoWw8yTRW2S8 7VVZ8c14wft+WtiZ2uBvH479j/c5gRRYIc3ro74fHqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7t6HCb 5MIvBwPGd9lLqnMAnD0ENqZfjKArzh/jOYawQ=; b=p8H23UJwrPfTA/Tt07gxfN Fw2uhKSfXiBPaYi9HLzyOZzm8yCLpDmXVBOoc0t9m9mM84guVHu7d1spMMnca/gd YOH1pEQKWBhRfykQcEeXRg7E3SJVgF5Z1vA1B2hXLXRENt3yXjgfKTxg1Lltl+Oo IIM5Z55OVO9QcUkyHvYB9FYmMAA7SeBLtkS1NbS+LC2euErgJnxbChrh67iI8kjx whcP8tFBBiBv+QG+qJA+thSZRneFV5uA1aIunQEjBX5/zJ6K78O9d2CnWPwWD9XG u9Lg/ZIzR5zY6uK9A8foQH3bBZrSqWPH4Ic0WyWN++9mbjIFrUiUgYfY5an/SV+w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddriedvgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucffohhmrghinhepkhgvrhhnvghlrd horhhgpdhgihhthhhusgdrtghomhenucfkphepkeefrdekiedrkeelrddutdejnecurfgr rhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 0FF1CE432B; Mon, 29 Apr 2019 08:53:22 -0400 (EDT) Date: Mon, 29 Apr 2019 14:53:20 +0200 From: Greg KH To: Daniel Borkmann Cc: kernel test robot , Thomas Gleixner , Jesper Dangaard Brouer , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Linus Torvalds , "David S. Miller" , Magnus Karlsson , Alexei Starovoitov , Peter Zijlstra , David Woodhouse , Andy Lutomirski , Borislav Petkov , LKML , lkp@01.org Subject: Re: [LKP] [x86, retpolines] ce02ef06fc: will-it-scale.per_thread_ops 3.1% improvement Message-ID: <20190429125320.GA24513@kroah.com> References: <20190313052715.GB8429@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 14, 2019 at 09:39:35AM +0100, Daniel Borkmann wrote: > On 03/13/2019 06:27 AM, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed a 3.1% improvement of will-it-scale.per_thread_ops due to commit: > > > > > > commit: ce02ef06fcf7a399a6276adb83f37373d10cbbe1 ("x86, retpolines: Raise limit for generating indirect calls from switch-case") > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > > > in testcase: will-it-scale > > on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory > > with following parameters: > > > > nr_task: 100% > > mode: thread > > test: futex3 > > cpufreq_governor: performance > > ucode: 0xb00002e > > > > test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two. > > test-url: https://github.com/antonblanchard/will-it-scale > > > > In addition to that, the commit also has significant impact on the following tests: > > Any thoughts on whether the above one-liner gcc work-around should be backported > to stable as well given these gains? I have now done so, thanks. greg k-h