Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp84685iob; Wed, 11 May 2022 10:02:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2Bzd619KCxAXn0pHZjFQ5J4dDEXxJ+/LhAy/Sg2cd58OaKUAe99eb6neF7Sco3gh6Crwd X-Received: by 2002:a63:f545:0:b0:3c2:8620:af6b with SMTP id e5-20020a63f545000000b003c28620af6bmr21317271pgk.569.1652288552668; Wed, 11 May 2022 10:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652288552; cv=none; d=google.com; s=arc-20160816; b=BV+BHP99PfiuqPOOsjZtjAoNeYYITFXK/3Pd7p0dH5lLnvZ0ZWRRrsS4yShLry2EyM JVrFHRW4Ivx3hInfEECVhIasq1wS/u80VJILvsp0YfcPuu36F3v6Bnrav2iQvuyus2qh BTGRylBIsHZj8hD6B5qjTnVFp9xkudgfu73NwmezESF+FKfKjgdHiqv/wCAvZlHdmRjk +ST3D8mwBVNsVFLHOkQwj6P8bVetv3VjSKvHK1lZsjCoEn0wvEyjn/djLOGKxNl/4wlZ pbGkXu3mzF+rLAlrvWI9rGTArB/nD4j0Y9dq99j74mhWSF59DWDIzYiTU5V7FozKzWlg 4Xrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=BiwsY4GbIdRq28vI1Rme4YusoZzW3BBWvEthmfMXcdE=; b=r1RN87CESw668crn1AT8Wzb2T8ZT51rSF8aQv30ollIp2pyBofuYq06+BaskF/vtmG W8dUQDqXsou61gnmwZ3/bQB/pgYZgaD7nVMQHLOXTO17yFW6SNDycXepFMukGx1lCSAO 5PKWXSO2ltnVjTbsCYp7zDut5HHDinQzwHtl7Eq+Zo80c89xxcSniqUjkvRiFIu6GYm6 9UJko51j6oD2lf/axURW4DniLyt4qQQjOHsG8QAKDKYYXPKvPTWTPoW5KI5LXit+jd3d 5IcGZtpl0/+HXk86yOiz7QvcGNdPQwy0sv3yGb3k0HihK7H8nk/GOjThZUJc0/+5Sfio LDlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a630009000000b003db38311b04si140887pga.868.2022.05.11.10.02.16; Wed, 11 May 2022 10:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344018AbiEKPwN (ORCPT + 99 others); Wed, 11 May 2022 11:52:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343992AbiEKPwC (ORCPT ); Wed, 11 May 2022 11:52:02 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA5063BEB; Wed, 11 May 2022 08:52:01 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.0.0) id b3c8452feecd8275; Wed, 11 May 2022 17:52:00 +0200 Received: from kreacher.localnet (unknown [213.134.181.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 7B16866C3E6; Wed, 11 May 2022 17:51:59 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Viresh Kumar Subject: [PATCH v1 0/3] cpufreq: Locking-related changes in cpufreq_offline() and cpufreq_remove_dev() Date: Wed, 11 May 2022 17:46:41 +0200 Message-ID: <5585781.DvuYhMxLoT@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.181.161 X-CLIENT-HOSTNAME: 213.134.181.161 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrgeehgdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepvddufedrudefgedrudekuddrudeiudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrddukedurdduiedupdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepvhhirhgvshhhrdhkuhhmrghrsehlihhnrghrohdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series is based on the observation that the policy rwsem is used (or rather not used) inconsistently in cpufreq_remove_dev() (in summary, it does things without holding the policy rwsem that are done under that rwsem elsewhere). The first two patches are preparatory (but patch [1/3] is a good enough improvement by itself IMO) and patch [3/3] makes the essential change. Please refer to the patch changelogs for details. Thanks!