Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp835410iob; Thu, 12 May 2022 05:48:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJJrtrnG3YBdG8HAMp02PxXiOyEQSW3azmOIm/mchudIwsJ/zSVeztPaeuGs/N5JBJ+OJ8 X-Received: by 2002:a17:902:eb87:b0:15e:bd77:a91 with SMTP id q7-20020a170902eb8700b0015ebd770a91mr30276083plg.49.1652359693796; Thu, 12 May 2022 05:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652359693; cv=none; d=google.com; s=arc-20160816; b=SLQShj5gnKxMP9M3YeQThWkjvk6pQ+cjTLE4MZmbnkc4BLwcnYDPO6shhz4bAsbGOO qjQGZ7KbiMfMYES/v+BjR81QqZjwze1Nakzx4TR2t3G8LpKWpA4BMvCpjjCqDkb5tc5g Uf/h35dYNtvRM/Se9jlwtmwJnwz5FaBbk16RfoyYo8T5aBT2rEHjNXI5wXRTLrFQVW+2 A4vjOduQ4xHj1d7PDbSiULI8nU9//O+tyPSe+0P18K9mlQdLwYO0avtStcYLK63yU2Z0 HX/602xOKOG/otkGzPzm4dM6+YFo0Oe+mXTPE0NnIDDUXqtEtvKm5hncmZKHRN8beBna XSew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=qL4PQ9qn9lMBINssvVeNkH0tYWr93CxXJds6Yc5S7R4=; b=iR89of737xVMlCOdrJ+TU781uMJYzB/1Gicomy3XC/ZrKdrvmqknOT3NKrHoh16A2w 52g4DKkpOakAVZTLxoSzXdHhu/fP8SVnU5l5QROt/syLUOxQUxrDnPrYuYLIsBsvCLKd OyfoyN3h3gi8BL7uiF+m7tasI8sEnZe3jMM8JJmXWoJadmeZNkdUaHFtoiX9oR1A+U1R eeSpNncoeKUGUZmJL33W5rgsAEEHx4kC74Gtw5y3Yp7OZKli91R4A081jcEs8oUlZwCz 93U1GKF+FKCfMICBmto2qv04+nF0WEAISPgOI23KegZYiK9p47NBpZ2XOQ5McqbWx6El JrPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JI45+O6J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk6-20020a17090b4a0600b001cb0c926910si4191399pjb.120.2022.05.12.05.48.00; Thu, 12 May 2022 05:48:13 -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; dkim=pass header.i=@linaro.org header.s=google header.b=JI45+O6J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348341AbiELH2u (ORCPT + 99 others); Thu, 12 May 2022 03:28:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351073AbiELH2T (ORCPT ); Thu, 12 May 2022 03:28:19 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAFB513FA0F for ; Thu, 12 May 2022 00:28:12 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id qe3-20020a17090b4f8300b001dc24e4da73so5279780pjb.1 for ; Thu, 12 May 2022 00:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qL4PQ9qn9lMBINssvVeNkH0tYWr93CxXJds6Yc5S7R4=; b=JI45+O6JYosov4MpvPi9i0QIUkiQvfOTh3ojcwBbNZLO4wxg72RmNAoj7e392HhBtT s7WQXRZ8b70gIFTB0AqEMqZMMmxwQ5tMDDnvbHPbB0bEVWGvRwGOwj9wDoglgATJENyO vjT7zNgJRUdUXssiXbXVvRgklU5Svtf1hveyWKOIJpsJ8qgZ7x0M7kWtUnh94YLI3k3a GmHaF+dE9/gX3em7Rz1zrK81/YpMSGjoWdBjugJaWXbLXagIj9OBVLDE4hyyKWmZ7WWh XYHaMYW7hHMk5fTKqAT6ue/8PomkI3wTJVU+JQnqoRFWeG6egwUEpppxMoTydhqFv8pr zh2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qL4PQ9qn9lMBINssvVeNkH0tYWr93CxXJds6Yc5S7R4=; b=rVsyNT2dAo3Yf90MTCUYPChx9gfgcDTmfU7lKMkaTJzpOAtJNmT8WEJPCf4p0hZC5Y 41pKxsa0RGMLRR7DJl6UygxNhEQkDfaK5BvX+kbrHtinpB+IHx1vyZiRY/wbc7dT8rA+ 5XL0dQ368+msh4koZ12AELEXh6BJNkcZuiOyiswg43028INbxu3LTAyVX37WA6KkMRIj oqOk7sIdwUAO4BwrOWfvMl4M+gMC8punAqKIbW0JUkxqQ8tI2S4hgBjLTXIIWj1dp5cD 9ZtQ5SBqzumYQoCh01Ssz84XOx3Y2zzoZ7GZVAnamuecaqlj3pycbtxdfIcA/FPUobaY I9cQ== X-Gm-Message-State: AOAM532xU2+mtd+pUhO/5+Ln7UUvEwViLOjT0CA8CFHQDfMv5tCvgx1W vUzcGnloLe89YibY4jIEpM3kpg== X-Received: by 2002:a17:903:4111:b0:15f:3eb3:9666 with SMTP id r17-20020a170903411100b0015f3eb39666mr3507440pld.29.1652340492242; Thu, 12 May 2022 00:28:12 -0700 (PDT) Received: from localhost ([122.162.234.2]) by smtp.gmail.com with ESMTPSA id u5-20020a17090add4500b001d92e2e5694sm1199945pjv.1.2022.05.12.00.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 00:28:11 -0700 (PDT) Date: Thu, 12 May 2022 12:58:09 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM , LKML Subject: Re: [PATCH v1 2/3] cpufreq: Split cpufreq_offline() Message-ID: <20220512072809.aztba67eummh2amf@vireshk-i7> References: <5585781.DvuYhMxLoT@kreacher> <2258373.ElGaqSPkdT@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2258373.ElGaqSPkdT@kreacher> User-Agent: NeoMutt/20180716-391-311a52 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On 11-05-22, 17:50, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Split the "core" part running under the policy rwsem out of > cpufreq_offline() to allow the locking in cpufreq_remove_dev() to be > rearranged more easily. > > As a side-effect this eliminates the unlock label that's not needed > any more. > > No expected functional impact. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 33 +++++++++++++++++++-------------- > 1 file changed, 19 insertions(+), 14 deletions(-) Acked-by: Viresh Kumar -- viresh