Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4293917ima; Mon, 4 Feb 2019 13:48:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IZLiX3JMkryuh9AOYFVwYqpG9/e8Y0zPHxS9aBq20apufxsce1+vKCCmQRQ1S/Te8XWESom X-Received: by 2002:a62:4e16:: with SMTP id c22mr1458595pfb.167.1549316929687; Mon, 04 Feb 2019 13:48:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549316929; cv=none; d=google.com; s=arc-20160816; b=oVhOljAHDeV+qrCUdGoJ2cGNHi1BP2mBzBsxdtBPSal0KsgXZf0+W89fhfrxJ1d4so 7dWYE2BxOf7W0B7aZPyKJkZKogx/M0qUwxfw8+IEcHxvnUYTxeCp604q9LtHlT9qjKv4 iORJe3E2zQQrbPG7/mPuck2ZAyCKA7KnL80wHx4hq8AwAWSyYRdwYg4nGEuYdqtCBREu xnsAEmjaExZcbWgUm6jnRnnqRiaMSWr7ulTkLbYirfasV/tNV/T/M78Y6OkwDranuQEF DWBREcTJrvSo2Mq2cWfoc2uKT5epnyCkLL6lgj3s4iDWkkogPLsZO52TzhdytMs5Kamd hK3w== 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=/9tfpEe5Z+ed/umFunyyPOYZQaTMvcg04hmnnxSNg50=; b=bH7MluyXJcituWFYXcRTfnoXwHHhZeHxdA/XJl8XAt51BgxzqSK2W/u7E0Wzwaa1f0 wn9HCaq7Gw+IIf6PxJopb+OGViWzBUULdKrTqMKKlk2N4Imy+55DIPRWqqbZihc/APCC Vg+qzgXjSVpTHjcyVYzdbXlyOhnHB54Y9NO9fdUR9WkQK/bs1oytbpB9EQn3k8Nr7C+B adX07cYHv7nRmZ+Xch4zZALvf6BpBQkm00W9W4cQIp5bqmxNiJB+kcx+f4QoTpDsqR3u fhxgr+pV2axqnNhv4uV0xOwXIP9GubkWasJrjf8KffXR3JnTfP7jZvqXlezzavudpl0v DQNQ== 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 v141si1299310pfc.260.2019.02.04.13.48.34; Mon, 04 Feb 2019 13:48:49 -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 S1728189AbfBDU0I (ORCPT + 99 others); Mon, 4 Feb 2019 15:26:08 -0500 Received: from muru.com ([72.249.23.125]:37606 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbfBDU0I (ORCPT ); Mon, 4 Feb 2019 15:26:08 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C6214808C; Mon, 4 Feb 2019 20:26:16 +0000 (UTC) Date: Mon, 4 Feb 2019 12:26:04 -0800 From: Tony Lindgren To: Lukasz Luba Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] config: arm: omap2: remove PROVE_LOCKING from defconfig Message-ID: <20190204202604.GP5720@atomide.com> References: <20181009153624eucas1p2ad30aea33ad1c869f11bd9ca1156d9af~b_rxQW8J90311703117eucas1p2U@eucas1p2.samsung.com> <20181108165958.GK56134@atomide.com> <21ce2c61-0b20-41f2-4d12-3c5b1c4b7925@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21ce2c61-0b20-41f2-4d12-3c5b1c4b7925@partner.samsung.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Lukasz Luba [181113 10:22]: > Hi Tony, > > On 11/8/18 5:59 PM, Tony Lindgren wrote: > > Hi, > > > > * Lukasz Luba [181009 08:36]: > >> PROVE_LOCKING enables LOCKDEP, which causes big overhead on cache and > >> bus transactions. > >> > >> On some ARM big.LITTLE architecutres (Exynos 5433) the overhead is really big. > >> The overhead can be measures using hackbench which will speed up > >> by x3 times (11sec -> 3.4sec). > >> When you check transaction on cache or buses, the results are way higher > >> than normal for the same hackbench test: > >> L1d cache invalidations: 26mln vs 4mln > >> L2u cache invalidations: 42mln vs 12mln > >> bus cyc/access: 30cyc/access vs. 20cyc/access > >> context switch is x3 times cheaper > >> > >> Enable this option only when you have some locking issue to investigate. > > > > I'm all for this, but this disables also other less intrusive > > debug options. It used to be that we'd get locking issues merged > > into drivers and I think that's how it originally got enabled. > That's common reason for a few defconfigs in mainline. Actually looks like this does not change the DEBUG related options.. I must have done something wrong earlier, sorry. So applying into omap-for-v5.1/defconfig. > > So we should take a look which ones we can or want to keep. > > Or just disable CONFIG_DEBUG completely. > Ideally, the CI should try a few 'types' of configs, > generated based on the 'defconfig'. Some 'smart' script might > cut the debug options for an image for performance regression tests. > > > > For distros, that's multi_v7_defconfig nowadays for most part > > so I think most people using omap2plus_defconfig are developers > > working on various devices. Yes I think that's the case. Regards, Tony