Received: by 10.223.176.46 with SMTP id f43csp2697126wra; Mon, 22 Jan 2018 01:48:31 -0800 (PST) X-Google-Smtp-Source: AH8x227FP+EPddLpbYchvcgI7X1Qoy5Xn2ofHRL2FQ1tZYyZIQYYJePoresGbd4LqarNrC6JxKZD X-Received: by 10.99.111.193 with SMTP id k184mr6659019pgc.378.1516614511095; Mon, 22 Jan 2018 01:48:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516614511; cv=none; d=google.com; s=arc-20160816; b=HE0uldqJyN1fNPXGdJZ1I9zv+LFJP2jlaU/xnuciuRXguEsqWoiRSm1rkt0Uhxn9iz VNvT3WWQ5TBodAauxGne6AoQx8e9BkV9SjqaKmnAXFKqYMlTgHqMBnw0wrThraYBcmsg N7bMh0I1Xa9puZrqCYi7v3xRO/M9KNtIYAY7qbRouj4gMPR81Ravd/INVt2SLBVlTrZW EgDLN+b2tI3aa+hbqOgYNMT6s3PleWqcWt6oUzpYJ3bzxy0tXN4JRnX+jAUuorUjnA/B KpKNj+OhuzwHk/F1dj6K2YOtSezR02gIiZDbyyrRG04hsaNWuoFcOY71cUS+GDqBtS+D GveQ== 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=nEYml5oihiM9BwZdR4Hyn82IjVRITcR2lnu9MzUsYRQ=; b=Y13KxAXtwoLbgeUu3jdgEGvcUqKGIxpUsJn5ZY02EQhnjUDJGEFBfDhqJWIEa11Zb8 b8xFBjkiYEUwTUWZQkeRsgxy5JpkO3YgUJe6Atl/ArdSEEMZESeuEr61IoEa+TWCUQvr OCdNFcMx9VKXij43sS40Y/P4CadCmi03OCafJH582zaROF32ZGlrDoSWh0Psb6ckkfs4 SFkmry9txRm+MC2UKkLKTqS+T5Ekw3qAIEDOH301faFPQWOaMHPui+ywyfASoC3O4gV5 4kZ0oxXgzjbvENdEi3mTnFCgYjr9QYc93I9EdRJi7Hhr+PVutz5N3EgyYZ3iLcZqzAHd bSxA== 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 j4-v6si22714plt.259.2018.01.22.01.48.17; Mon, 22 Jan 2018 01:48:31 -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 S1751196AbeAVIk5 (ORCPT + 99 others); Mon, 22 Jan 2018 03:40:57 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:58132 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbeAVIkz (ORCPT ); Mon, 22 Jan 2018 03:40:55 -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 459FBE56; Mon, 22 Jan 2018 08:40:54 +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 4.4 01/53] gcov: disable for COMPILE_TEST Date: Mon, 22 Jan 2018 09:39:53 +0100 Message-Id: <20180122083910.370760739@linuxfoundation.org> X-Mailer: git-send-email 2.16.0 In-Reply-To: <20180122083910.299610926@linuxfoundation.org> References: <20180122083910.299610926@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 4.4-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 @@ -37,6 +37,7 @@ config ARCH_HAS_GCOV_PROFILE_ALL config GCOV_PROFILE_ALL bool "Profile entire Kernel" + depends on !COMPILE_TEST depends on GCOV_KERNEL depends on ARCH_HAS_GCOV_PROFILE_ALL default n