From patchwork Tue Oct 9 15:37:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 981384 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=partner.samsung.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bIBcdQQK"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="qtlHtyCu"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42V1cG4jq8z9s8F for ; Wed, 10 Oct 2018 02:39:10 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:List-Owner; bh=mW2M0DM7u1NGJMSj4KHeL8sjod5wVzwz3KMA5krV7YI=; b=bI BcdQQK83Lzlv4kUaZjlMRF3g2TICN1IF5xm198Ph9ePHkDXJVYcC0LrGCmGSkhP4E/F0QOupCocT4 8A6wKO2xPmG4RWcbyY8itZk0tKKfkgTDTmzX4OCzmAHgkUkG3JuXgg70ngFhy6Jc0jp+OOlPYbH/y l4rIzHSZILZLBSxjbupXewQ/TO+EJznC0FfvWoJLcjDbGJ0K7xxbtewCMje1lJJKIT+3nbdD9cR3b jL//zcdUa1S3I5YzR2MlA5ztsDQp9sxQMBSG7/mjXXzXNFFrzX+hZhUwfGRp10vZnusGuKh7UpMx7 JvwejscSA49Hmnu1emgfeQ5yNE/40JbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9u66-0003Ke-Sy; Tue, 09 Oct 2018 15:38:58 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9u55-0002jH-1p for linux-arm-kernel@lists.infradead.org; Tue, 09 Oct 2018 15:38:41 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181009153740euoutp0146ec1dbeef5fc3abfdd86e603df5b2eb~b_s4ZhrxM2749227492euoutp01C for ; Tue, 9 Oct 2018 15:37:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181009153740euoutp0146ec1dbeef5fc3abfdd86e603df5b2eb~b_s4ZhrxM2749227492euoutp01C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539099460; bh=Z3+x3l9W4xm+lZ8DZw1OmeAPieFICVBuCckxpdPh7J0=; h=From:To:Cc:Subject:Date:References:From; b=qtlHtyCuOCSwQoJEJuENkelHRKw00dSeD/LGIAN6FRELRPE2hK0aw/BXui6xf7F9X 7VsTHbIsEW+NrRujfbgK3mBNZTjFYmAFiR4mCDhCaKAzF3xW6S0OnNVvWYc5y7xCOS +uS1HWxao6h4L8f7CvWWI0pmBrrWrB9x283NcCHA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181009153740eucas1p1c8fc08565698dee2e0ed8df1835a1f7b~b_s39Qm773066630666eucas1p1r; Tue, 9 Oct 2018 15:37:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 87.DA.04294.34BCCBB5; Tue, 9 Oct 2018 16:37:39 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20181009153739eucas1p2002c9e68cd25088e13135c69c611f386~b_s3LCHJk2226522265eucas1p27; Tue, 9 Oct 2018 15:37:39 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181009153739eusmtrp16c7ed95e2200b1c81adc81381a3c08c1~b_s26JgIu0519405194eusmtrp1d; Tue, 9 Oct 2018 15:37:39 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-b7-5bbccb43ee9b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E6.74.04284.34BCCBB5; Tue, 9 Oct 2018 16:37:39 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181009153738eusmtip2092eaa592d062a0f43ec9ce332bfc400~b_s2h9uJ00990009900eusmtip2d; Tue, 9 Oct 2018 15:37:38 +0000 (GMT) From: Lukasz Luba To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] config: arm: mxs: remove PROVE_LOCKING from defconfig Date: Tue, 9 Oct 2018 17:37:31 +0200 X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJIsWRmVeSWpSXmKPExsWy7djPc7rOp/dEG9z9a2OxccZ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SUnMyy1KL9O0S9DIOTLnI VrCQs+LT3qnMDYwv2bsYOTgkBEwkPkyp7GLk4hASWMoosXbVaZYuRk6guJjEpH3b2SFsYYk/ 17rYIIo+MUrMezybCaSZTUBPYseqQpAaEQEPibZ/95hBbGaBLImXPVNYQWxhATeJ7Rc2gc1k EVCV6L30BSzOK+ApsaT3DjPEfDmJm+c6mScw8ixgZFjFKJJaWpybnltsqFecmFtcmpeul5yf u4kRGHrbjv3cvIPx0sbgQ4wCHIxKPLwz8nZHC7EmlhVX5h5ilOBgVhLhFd2+K1qINyWxsiq1 KD++qDQntfgQoynQ8onMUqLJ+cC4yCuJNzQ1NLewNDQ3Njc2s1AS5z1vUBklJJCeWJKanZpa kFoE08fEwSnVwCi9UGfLpcBFyyuCJq6Z9kCoyv3969JrlcvLX8x7bLNghnhHo5Gqkd+LaWqf XHb9YrxvcvfkqlebP2fx8f1ZKps+efL7NVycK6pCptg9bWksiLNX3iOTdCVknuXhGK5tEnzu bPs+8Mu4OjuW96x+sE9QZE4235eVVT89Y6c+LL66Y4NTr/r+B7uVWIozEg21mIuKEwG3cq3w UwIAAA== Message-Id: <20181009153739eucas1p2002c9e68cd25088e13135c69c611f386~b_s3LCHJk2226522265eucas1p27@eucas1p2.samsung.com> X-CMS-MailID: 20181009153739eucas1p2002c9e68cd25088e13135c69c611f386 X-Msg-Generator: CA X-RootMTR: 20181009153739eucas1p2002c9e68cd25088e13135c69c611f386 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181009153739eucas1p2002c9e68cd25088e13135c69c611f386 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181009_083755_280213_9A448E9B X-CRM114-Status: GOOD ( 10.99 ) X-Spam-Score: -5.3 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [210.118.77.11 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.3 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fabio.estevam@nxp.com, b.zolnierkie@samsung.com, shawnguo@kernel.org, l.luba@partner.samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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. Signed-off-by: Lukasz Luba --- arch/arm/configs/mxs_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig index 7b82128..22c9a8d 100644 --- a/arch/arm/configs/mxs_defconfig +++ b/arch/arm/configs/mxs_defconfig @@ -170,7 +170,6 @@ CONFIG_UNUSED_SYMBOLS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y CONFIG_SOFTLOCKUP_DETECTOR=y -CONFIG_PROVE_LOCKING=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_STRICT_DEVMEM=y CONFIG_DEBUG_USER=y