Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp437644pxk; Thu, 24 Sep 2020 09:09:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKuRUsYHcyHDaPvMGcTiILTWEDpfEL6vWaMxSZDQbpxTpvmjHfkrQCEm8VvPX2m/vQuljn X-Received: by 2002:a17:906:858a:: with SMTP id v10mr627183ejx.61.1600963755344; Thu, 24 Sep 2020 09:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600963755; cv=none; d=google.com; s=arc-20160816; b=E23DbiG/eQhHbEXbub2xMPlt9ynZpp3lkCwltSBiivKr235w33yCDiu9sHQ/t+ABg9 yzZVMnGwQ1IVBY5K6Kk74XukhIzyq11hBZ4REYuCPMDUfb5datBF1Hy+L7mipd9LYGii hjVUfkWRaiuRVi+3xRxIBYki1gd7kjXGiA8h6ZVK2L+F6AscapUQjedtG/FzXFQgOwTu 8XNGrlyEi1uPf37EZ2LZW9ryW9/j6DRiMakvnyqrwo1UEQgJIWjTnLTqcvSRHT8BLqIv qLOdoNyjHD0r8KZkBKBnq8H0UMT6eoxXT6kyVvFfM+KmXJt9ZBViOH0WAiE/o0+6wJpg XJaA== 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; bh=8PAqkqD1z4cCrrP9vOAte7NQypeeiJUVrUtMRPix+50=; b=VlqZV3yPnk1nXQe2uHMFuIapQKAE7Bgb/7zAhQeVpUETO+SArdx9cqqkfcwkJe1eoK +YYiJEBT7h9cStPrNb4jMxRnTIx7Ruo6fUTSnLQIyao1h/VaKhmbwapL4+PmLJds629L e0VLV5hskmcHT1TydrSbSd5/Ig1/vIR1McBGj4sfAwOsSnRy5zIGtOLHXsnHZk9cXiPx GciVmLXSJydzWY6t7F/Q0Z4ALgZyo3trlcM+P2/wfQ8qor31dTyNL227FdZvUqYvRCPm Xk/3+XqGjlo9sDldsv5Y/95Aqqi8C7YEOPqYtiNrdXoOxlXWPB0Rzm9aqhdGPfsZEQri oJ5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p10si2459188ejy.70.2020.09.24.09.08.51; Thu, 24 Sep 2020 09:09:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728531AbgIXQHv (ORCPT + 99 others); Thu, 24 Sep 2020 12:07:51 -0400 Received: from foss.arm.com ([217.140.110.172]:49954 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728448AbgIXQHv (ORCPT ); Thu, 24 Sep 2020 12:07:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9E0B71396; Thu, 24 Sep 2020 09:07:50 -0700 (PDT) Received: from localhost (unknown [10.1.199.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3964A3F718; Thu, 24 Sep 2020 09:07:50 -0700 (PDT) Date: Thu, 24 Sep 2020 17:07:48 +0100 From: Ionela Voinescu To: Quentin Perret Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, catalin.marinas@arm.com, will@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, dietmar.eggemann@arm.com, valentin.schneider@arm.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] sched/topology,schedutil: wrap sched domains rebuild Message-ID: <20200924160748.GA17927@arm.com> References: <20200924123937.20938-1-ionela.voinescu@arm.com> <20200924123937.20938-2-ionela.voinescu@arm.com> <20200924133446.GA3920949@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924133446.GA3920949@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, On Thursday 24 Sep 2020 at 14:34:46 (+0100), Quentin Perret wrote: > On Thursday 24 Sep 2020 at 13:39:35 (+0100), Ionela Voinescu wrote: > > @@ -433,6 +437,7 @@ static bool build_perf_domains(const struct cpumask *cpu_map) > > } > > #else > > static void free_pd(struct perf_domain *pd) { } > > +void rebuild_sched_domains_energy(void) { } > > Nit: maybe make that stub static inline in a header instead? I guess LTO > and friends ought to clean that up for you, but it shouldn't hurt to give > the compiler a little bit of help here. > Makes sense and will do! Thank you, Ionela. > Otherwise, LGTM: > > Acked-by: Quentin Perret > > > #endif /* CONFIG_ENERGY_MODEL && CONFIG_CPU_FREQ_GOV_SCHEDUTIL*/ > > > > static void free_rootdomain(struct rcu_head *rcu) > > -- > > 2.17.1 > >