Received: by 10.223.176.5 with SMTP id f5csp3410421wra; Mon, 29 Jan 2018 12:47:04 -0800 (PST) X-Google-Smtp-Source: AH8x224hxqkEgMPeNq+TW6jU8JBQPcc430SxJrulkqP4jJ1fnlPKgOBfEGsiOOuD/xaETAj/udWU X-Received: by 2002:a17:902:8349:: with SMTP id z9-v6mr2721052pln.164.1517258824583; Mon, 29 Jan 2018 12:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517258824; cv=none; d=google.com; s=arc-20160816; b=A3YAHZXuQj9nvYqHYIgM1HcS74MJp1X/5ntz8s6Gjg+mY+R0aBAgeTWpIKsCw13bZV OVvpVOLJlnZU9BKRbG7iYZypLgxut3GFf24HNC3oFhVxYS7CVUXLVA9BsANZedRk8Dcx 2FAjWsFq63tgOYU7YO8TzfCIheUuz6Jln+Z6pXfF6PnlzTstQd4ko7MzVZOPfVKgEhOk qNGXQAgypGy0WrlqYpiYj/2Jry54hU/mxBoUJ/lcV7zx9CEWFyYhVbUfuUSbG3R/+db2 rR854SlZtuN/CyruVsSa5OWL1oKk//ekN26q+xHRjPDBEuzvsBKFqiPJVDz3OeqOJSlQ n/rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=+11cv6uy9dK6m3l4Au8k1bveU6ajzwTBeDiK8GWLYIE=; b=xk7PwQaV2yp4pJC4mv5Zpi42Easq67Em73Y6VdG7zd++RfnlAFfqI/lUYkCs4GI4LH VmH9Kdfg/Fy4Z0Z6l/7UILa/OC+EF+LNjBqRoOpKUYEnPRGS7D6y/JhP09cNV4slfxBV zJXDwWaJR5DS2Ch+Wj0T+Ycw0IorimzGFmAQp0dLvz8it5fOA+G0ayjUAE++l/Z5XKxo 7YTkujE4tlQ8m5gfKKj4Jng8VDVOEWGEqcdMKMPhHTCKrTDj8h9FqEXobxOnFfCsUW0l JpwaJqWWL1oBMC9Re/aTZ3w1cfSgEK3Cj2xG43NgwrgUI9bEpdZ5aoPEZo6QS4kbHql7 Z+8g== 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 y40-v6si9878370pla.319.2018.01.29.12.46.50; Mon, 29 Jan 2018 12:47:04 -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 S932068AbeA2UpG (ORCPT + 99 others); Mon, 29 Jan 2018 15:45:06 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35336 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201AbeA2UMf (ORCPT ); Mon, 29 Jan 2018 15:12:35 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A9CD02E82; Mon, 29 Jan 2018 12:57:57 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Peter Oberparleiter , Michal Marek Subject: [PATCH 3.18 01/52] gcov: disable for COMPILE_TEST Date: Mon, 29 Jan 2018 13:56:19 +0100 Message-Id: <20180129123628.244419707@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180129123628.168904217@linuxfoundation.org> References: <20180129123628.168904217@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit cc622420798c4bcf093785d872525087a7798db9 upstream. Enabling gcov is counterproductive to compile testing: it significantly increases the kernel image size, compile time, and it produces lots of false positive "may be used uninitialized" warnings as the result of missed optimizations. This is in line with how UBSAN_SANITIZE_ALL and PROFILE_ALL_BRANCHES work, both of which have similar problems. With an ARM allmodconfig kernel, I see the build time drop from 283 minutes CPU time to 225 minutes, and the vmlinux size drops from 43MB to 26MB. Signed-off-by: Arnd Bergmann Acked-by: Peter Oberparleiter Signed-off-by: Michal Marek Signed-off-by: Greg Kroah-Hartman --- kernel/gcov/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/kernel/gcov/Kconfig +++ b/kernel/gcov/Kconfig @@ -34,6 +34,7 @@ config GCOV_KERNEL config GCOV_PROFILE_ALL bool "Profile entire Kernel" + depends on !COMPILE_TEST depends on GCOV_KERNEL depends on SUPERH || S390 || X86 || PPC || MICROBLAZE || ARM || ARM64 default n