From patchwork Wed Dec 19 18:23:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Schneider X-Patchwork-Id: 10737947 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2007313AD for ; Wed, 19 Dec 2018 18:24:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11F4328C4D for ; Wed, 19 Dec 2018 18:24:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05BE92B703; Wed, 19 Dec 2018 18:24:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AED5A28C4D for ; Wed, 19 Dec 2018 18:24:33 +0000 (UTC) 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: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: References:List-Owner; bh=Eorzp1GVbGvewX+mCWsmVpSrcuLJacyId1qC/6mH238=; b=AEs dagyZklq3F3Ye86EyjLxjxguY3cGs73egngPz0w9dpDkkzMGgAbR1xHFMzNs3pcCFevVT0oLZsMxx DBd9Wru2/7wRRQcEw9aLH7yWCu1F4z8YpRIxSD+aY76vM9agigULjF2scESNqkZwjYPV5xrRoMopK iC0WBz53WdqSPy6hwjRXYwoXEq+GuvY015RZyIXMYXDCzIHHQ2ZUlsdoH76/9VEtBbeuf+GbNe4dF lfBh4SjfgyzVoA7wBjoWbNPo+xu1yjq/rk9TXUhKtgyVjZFRuMOAGJ4CZTlPRVH8U0aomGKCBFRXp rBLRpjCyRtUmAbtng0sGN5FteR2tcvw==; 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 1gZgWC-0002ct-W1; Wed, 19 Dec 2018 18:24:29 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZgW2-0002IW-2Z for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 18:24:19 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 55F1CA78; Wed, 19 Dec 2018 10:24:06 -0800 (PST) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 36AFC3F59C; Wed, 19 Dec 2018 10:24:04 -0800 (PST) From: Valentin Schneider To: linux-kernel@vger.kernel.org Subject: [PATCH 0/2] System-wide mute of hotplug lockdep during init Date: Wed, 19 Dec 2018 18:23:14 +0000 Message-Id: <1545243796-23224-1-git-send-email-valentin.schneider@arm.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_102418_186154_44FD9925 X-CRM114-Status: UNSURE ( 7.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, cai@gmx.us, marc.zyngier@arm.com, daniel.lezcano@linaro.org, dietmar.eggemann@arm.com, peterz@infradead.org, longman@redhat.com, tglx@linutronix.de, mingo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In [1] Peter had a suggestion to broadly mute hotplug lockdep warnings during init instead of going after every single warning and wrapping them with cpus_read_{lock, unlock}(). This is implemented in [PATCH 1/2]. [PATCH 2/2] is a logical follow-up as [PATCH 1/2] is the generalized version of the reverted patch. [1]: https://lore.kernel.org/lkml/1543877121-4098-1-git-send-email-cai@gmx.us/#t Valentin Schneider (2): cpu/hotplug: Mute hotplug lockdep during init Revert "sched/core: Take the hotplug lock in sched_init_smp()" kernel/cpu.c | 9 +++++++++ kernel/sched/core.c | 5 +---- 2 files changed, 10 insertions(+), 4 deletions(-) --- 2.7.4