Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5022120imm; Tue, 9 Oct 2018 08:35:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV62nm6EFyl5t3v/2T3L/AnIEIG9zSpoh7XZ4uY4SzWgwsu0PDaNicCYNiTiqNhawQGXTS8/H X-Received: by 2002:a63:fa09:: with SMTP id y9-v6mr26061666pgh.177.1539099335678; Tue, 09 Oct 2018 08:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539099335; cv=none; d=google.com; s=arc-20160816; b=fiF1bR5fS0Ae4+8+1poFbARCGLpznwIeoeMmXaVa8sQ7Z4skEdejtslopMAG9IZ9Io O7Z59Hd3nakQXxPyD/1oRgFqKwfYcqBCHq2tzzvR5rFN8lQam3y0VyTIxeG72l2SBTaL ck1KfgJSepXIrk92qWtO/XjkskJqrI77E5F2KfwKhTXAayjQ1sqPBefgTflFIvbeL7nQ Me9Xvlba0og8nVSJmpVXFDAq1w3I1RWfIvKwSJZYWskh8HPhk25lAtEP/ytbjNr3QI7s JZpESYPamSCLB8BpzrWAnY5fA6lYowI9AVaDQH73kUJaFf23O39CyelzdI3RMoZI76g4 xC1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=ox3ssDeFhhKb7BhUn9hgODkK+LQZhkfSJjSturg+/00=; b=jDZ9nPmVkMgXfbXpu1SCX4pBg5Oa70T40Trgcz3q1+uG08Bsev2BefGiftyWNyiK/3 bpBGC1fr5xTMOgxY/sygdmOv48v5xPQgU7djGxmj+CZeoutCXrsbHTDTS6nrp9JSoabp 3QBVMrfJ54ik1t/B9RQDf0Gh5euPXoxrmCWnwRn2Qxr1+4b4hryn/sQ11YTeq43TIlhj Z2a2MfhWgvwKX6HDROvFNX8tpSfnTumrSB34YjPTTSwSfTXHtet1vplBYbFOfuKgSvQx wp/zK94UsCdxRgZGrV/zN9A8UpmUb+YMSRUPjPYrhNYru1heDtVLgUACwjG4AkTDQxsN j8KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cdmheF8c; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16-v6si18936186pgb.404.2018.10.09.08.35.20; Tue, 09 Oct 2018 08:35: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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cdmheF8c; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbeJIWwL (ORCPT + 99 others); Tue, 9 Oct 2018 18:52:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51749 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeJIWwL (ORCPT ); Tue, 9 Oct 2018 18:52:11 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181009153441euoutp01dccf4aeb6841b99a698fd5debb236a26~b_qRRAYaf2472824728euoutp01k for ; Tue, 9 Oct 2018 15:34:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181009153441euoutp01dccf4aeb6841b99a698fd5debb236a26~b_qRRAYaf2472824728euoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539099281; bh=ox3ssDeFhhKb7BhUn9hgODkK+LQZhkfSJjSturg+/00=; h=From:To:Cc:Subject:Date:References:From; b=cdmheF8coCJy4LR9gAciz2QJjh0tpbaFQyvO4xvau+ZZ6Jg61sr3376CEkfISWSDn G88ct7oMNstNBYGOJwDSagT3pz66/Rfp7CWtemWCfx+MpbdAEaTKG+dqBerqUua38n b2SMO+KjJRoB6VIYO4H6+f14pz9zBMedU/zX4st4= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181009153440eucas1p11f29b0cef7d94ae7ff70f4c503a24bb9~b_qQS4BbM1415514155eucas1p17; Tue, 9 Oct 2018 15:34:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4B.F0.04806.F8ACCBB5; Tue, 9 Oct 2018 16:34:39 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181009153439eucas1p19956dc093074fb7603ad4b39d7cd215a~b_qPT4nMA1415514155eucas1p16; Tue, 9 Oct 2018 15:34:39 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181009153438eusmtrp1ababfda434a2ec8b6eb8c56abda74c8b~b_qPCyQz20414104141eusmtrp1b; Tue, 9 Oct 2018 15:34:38 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-0a-5bbcca8f0b18 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id B1.34.04284.E8ACCBB5; Tue, 9 Oct 2018 16:34:38 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181009153438eusmtip2edba67aea9b969fa128f649f597175b6~b_qOqrLBY1235412354eusmtip2q; Tue, 9 Oct 2018 15:34:38 +0000 (GMT) From: Lukasz Luba To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: l.luba@partner.samsung.com, b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, m.szyprowski@samsung.com Subject: [PATCH] config: arm: exynos: remove PROVE_LOCKING from defconfig Date: Tue, 9 Oct 2018 17:33:57 +0200 X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFIsWRmVeSWpSXmKPExsWy7djPc7r9p/ZEG/z9a2WxccZ6Vov+x6+Z Lc6f38BucatBxmLT42usFpd3zWGzWHvkLrsDu8emVZ1sHpuX1HscfLeHyaNvyypGj8+b5AJY o7hsUlJzMstSi/TtErgyTp/4xlJwiLNi3+KtjA2MrRxdjBwcEgImEnsXKXcxcnEICaxglPhz 8Cs7hPOFUWLBgfssEM5nRonvr2exdTFygnU0zj3NCpFYzijR0LOeBa6l5VgvG8hcNgE9iR2r CkEaRATcJG40djCB2MwC5RL7vv4Fs4UFPCU2rXkKNpRFQFWiYd86RogFchI3z3Uyg8yUELjM JnF0/zdmkASvQJnEnymv2CGKXCTOdP9lgbCFJV4d3wIVl5E4PbkHKl4scbZjFdTVNRLtJ3dA 1VhLHD5+kRXkTmYBTYn1u/Qhwo4Sn3qOMEKChU/ixltBiJP5JCZtm84MEeaV6GgTgqjWkNjS c4EJwhaTWL5mGtRwD4lFf6azgthCArESXcf6WCYwys1C2LWAkXEVo3hqaXFuemqxcV5quV5x Ym5xaV66XnJ+7iZGYAo4/e/41x2M+/4kHWIU4GBU4uGdkbc7Wog1say4MvcQowQHs5IIr+j2 XdFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeZfN2xgtJJCeWJKanZpakFoEk2Xi4JRqYNS5/i9E fk30+9ds08x/HLjo8/jh7QMm0Rd74k2dPeY6HMx4EpEsWL778gGfzBn6whPOVZuc2LbiSp3R 78sn9ggzRC5kEL19XsX4R1XwjuI1P19bJrq9YNrrXDHzuXlbX6vJjNJARxfpa4vlBcr1/G8t Tq6+7KjXbRhz2uLtikML299qGipoXVBiKc5INNRiLipOBABp+oyP/QIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsVy+t/xe7p9p/ZEG5z6ZWaxccZ6Vov+x6+Z Lc6f38BucatBxmLT42usFpd3zWGzWHvkLrsDu8emVZ1sHpuX1HscfLeHyaNvyypGj8+b5AJY o/RsivJLS1IVMvKLS2yVog0tjPQMLS30jEws9QyNzWOtjEyV9O1sUlJzMstSi/TtEvQyTp/4 xlJwiLNi3+KtjA2MrRxdjJwcEgImEo1zT7N2MXJxCAksZZRo+dTDBpEQk5i0bzs7hC0s8eda FxtE0SdGiW1XVwA5HBxsAnoSO1YVgtSICHhItP27xwxiMwvUSkyctRzMFhbwlNi05inYTBYB VYmGfesYQWxeoHj/tF/MEPPlJG6e62SewMizgJFhFaNIamlxbnpusaFecWJucWleul5yfu4m RmD4bTv2c/MOxksbgw8xCnAwKvHwzsjbHS3EmlhWXJl7iFGCg1lJhFd0+65oId6UxMqq1KL8 +KLSnNTiQ4ymQMsnMkuJJucDYyOvJN7Q1NDcwtLQ3Njc2MxCSZz3vEFllJBAemJJanZqakFq EUwfEwenVAOj106PMzPYeLOe2HBslxVhLrjRsW3J9cC/k+c83LHbQeTlvXWnFO7UNvq8jV7u +eNustilvwtlQx7r7rjGyj7rXF6ORHZT0TzV7sL3UjufnXz+Lt/Qwv2VzmnpvQdl+4QVPug4 Hee7vWt6moiB+s4NYfrs1a7ffGPYXjNs2diXKrLtewW/07GZSizFGYmGWsxFxYkAaow2tFUC AAA= Message-Id: <20181009153439eucas1p19956dc093074fb7603ad4b39d7cd215a~b_qPT4nMA1415514155eucas1p16@eucas1p1.samsung.com> X-CMS-MailID: 20181009153439eucas1p19956dc093074fb7603ad4b39d7cd215a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181009153439eucas1p19956dc093074fb7603ad4b39d7cd215a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181009153439eucas1p19956dc093074fb7603ad4b39d7cd215a References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 test 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/exynos_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 27ea6dfc..fbf52f3 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -324,7 +324,6 @@ CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y CONFIG_SOFTLOCKUP_DETECTOR=y # CONFIG_DETECT_HUNG_TASK is not set -CONFIG_PROVE_LOCKING=y CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_DEBUG_USER=y CONFIG_CRYPTO_RSA=m -- 2.7.4