Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3610981yba; Tue, 9 Apr 2019 00:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNqR6sTJ9rHyDRwedbx0NpqUMqfCmkxiQ1/QsZMGpPByocB+YdTB8NTN+Rn+hNhBuvgMj+ X-Received: by 2002:a63:1548:: with SMTP id 8mr30902750pgv.277.1554795515813; Tue, 09 Apr 2019 00:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554795515; cv=none; d=google.com; s=arc-20160816; b=wjltnGOBsccwAEIByHrIKB0pbVh8Gufm5ScU4lWYLUclGMOrjssqrPHe1YfxG7Jw77 UooSOPL+eDl1T/PphE8VQ24p3nU5wz+1Fwhkz/7nWQ14N6ELFL70E7e6DAw+IxzWeG9y Uyg73hLLwCZgtc3m6nN1++o7imfq7VD4giOCysfov2XZFI6c9AUqfJwqfwNqUsKtKnoF 2ANL/q+a/8YRBw7gRdZNFMtUZ0OEb094MloWJD0a/RMmydLN3JTY20dGl8z8xxwP3Th3 clozzI1dOhrHF+GLRxkA0zcG8taUQNSSzzJavP5wk1d1NX4KeqoSzXA93NXqpiFU8QoU 1ftA== 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=EAtK+4l0smyF/eExSFk7emQzEtk7OnTdGJgUvrq9z8U=; b=uk3Fh83GUnI+T+sUROpofZme4j9/XHm8WBtEUlmNRcqcImewVdbmA3GOPAzxZ07zkx GGZ6wXZrvLdjlExAnoyLlOmzm72114PqqhwLh7jd3d0UMV2HXVmcBm5N5+OH/KbcMFQA uURu7pExYiy4E3lcuUlI1KUZZXzH2fEntEw8VZpinnivlna74hFeXnEFVe0Jf0vo8SlZ QV7pDRrl4ZTHsbt6QNh3BBYLF4JSVNp6TJYgCSsgonbRPeUl/pTX4sEQrfrBI7NX9TjA LMiAsUvgks2+IGz8QKAgnJSCcKOX1jrMGiDZRVT+p6qGCMrEy74DIJs3jXPEbDQKYNBn Lvvw== 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 u20si18223543pfh.211.2019.04.09.00.38.19; Tue, 09 Apr 2019 00:38:35 -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; 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 S1726627AbfDIHgK (ORCPT + 99 others); Tue, 9 Apr 2019 03:36:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:39446 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726001AbfDIHgJ (ORCPT ); Tue, 9 Apr 2019 03:36:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 37874B02C; Tue, 9 Apr 2019 07:36:08 +0000 (UTC) Date: Tue, 9 Apr 2019 09:36:07 +0200 From: Petr Mladek To: Josh Poimboeuf Cc: Miroslav Benes , yamada.masahiro@socionext.com, michal.lkml@markovi.net, jikos@kernel.org, joe.lawrence@redhat.com, ggherdovich@suse.cz, linux-kbuild@vger.kernel.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled Message-ID: <20190409073607.ms4amehc23quaio3@pathway.suse.cz> References: <20190404184411.1392-1-mbenes@suse.cz> <20190404201855.xtvtgxaaomcmowrt@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190404201855.xtvtgxaaomcmowrt@treble> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2019-04-04 15:18:55, Josh Poimboeuf wrote: > On Thu, Apr 04, 2019 at 08:44:11PM +0200, Miroslav Benes wrote: > > GCC 9 introduces a new option, -flive-patching. It disables certain > > optimizations which could make a compilation unsafe for later live > > patching of the running kernel. > > > > The option is used only if CONFIG_LIVEPATCH is enabled and $(CC) > > supports it. > > > > Performance impact of the option was measured on three different > > Intel machines - two bigger NUMA boxes and one smaller UMA box. Kernel > > intensive (IO, scheduling, networking) benchmarks were selected, plus a > > set of HPC workloads from NAS Parallel Benchmark. The tests were done on > > upstream kernel 5.0-rc8 with openSUSE Leap 15.0 userspace. > > > > The majority of the tests is unaffected. The only significant exception > > is the scheduler section which suffers 1-3% degradation. > > > > Evaluated-by: Giovanni Gherdovich > > Signed-off-by: Miroslav Benes > > --- > > The patch is based on master branch of the livepatching tree on > > git.kernel.org. > > > > Many thanks to Giovanni who ran the whole testing campaign and analyzed > > the results. I archived the dashboard and detailed data. If anyone is > > interested, we could probably set up a public website somewhere. > > Acked-by: Josh Poimboeuf I have committed the patch into the branch for-5.2/core. Best Regards, Petr