Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp322315pxk; Thu, 24 Sep 2020 06:36:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHed4B9GujQpA/H8hvn+NiT3BakyqROO3GME+WhBcqJC/KioPDr0cGl3Ef6fC7cyf/l+iG X-Received: by 2002:a05:6402:220d:: with SMTP id cq13mr1109885edb.260.1600954576002; Thu, 24 Sep 2020 06:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600954575; cv=none; d=google.com; s=arc-20160816; b=z0uCPPN9LDbICuE3F0EmN8Tf+8dlPYOXq2bFAxho4CGomloL3roKLbvy0UB+2r3Gnc XrrorrXqvDWJKe2GzUMmAFEnBtQo2T6aOgBG9Fkhwjv8KIrgbZHtflJn/c9Digjs2W/s eQ0uJXHiCQ0AlpKXxOA8S3GNOUE+Xfom44xDQWw4oiuNy/0fMhZdPdLeaqxfAey1QqmA PC21QHox+xcmeKmPeAA5Z+6O7tgokZxuhFGBHyHLIE/T9e6nUZtK8J6pKe8fmUWM/6Hi 0de9sy1BpluVfoz5mXmI5Xx7x1dtGpNG/JtN2q8r2PiJvZ05+0ndJdeO+IKA1SnPNnQn XG5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AHmQxIHTPufi+UR2RfGLNgHO/eGPtc+JmSaoagltYVc=; b=C+gAoSGwOhRj0ml/5AtN2dTPpLUEDTPta2UT3WNVj/hGcJZo/sFs1aUqyXWgZlAkBX RPdbE14trCwefI29oQB+UdHcRM1ZxHXnrzN8fsLnlrjuSO9M0uttDEONM9ciY56gDOnV g45SC46J5+tj3e7TCkg15THf2z18pIl4GWpv/HIMgBl6yA9ruwTILAoIq+PvweIyDA7H tGabElUMqlvQ4d7FyEdt+6FceNkqXTZvuCEr4/WnJuVD2TdqZw+74oRvcKF3pyW0Zi2g Jp6jnrE09i/F12UWiuoVr3jqbWYQd0KPb7htcDJtJDXdCCW2msxFyH1ZuyWtkzWLTSbM /x+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wWMf+nQe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gu13si2031186ejb.395.2020.09.24.06.35.49; Thu, 24 Sep 2020 06:36: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; dkim=pass header.i=@google.com header.s=20161025 header.b=wWMf+nQe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727993AbgIXNew (ORCPT + 99 others); Thu, 24 Sep 2020 09:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727742AbgIXNev (ORCPT ); Thu, 24 Sep 2020 09:34:51 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EB22C0613D3 for ; Thu, 24 Sep 2020 06:34:51 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id c18so3819573wrm.9 for ; Thu, 24 Sep 2020 06:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AHmQxIHTPufi+UR2RfGLNgHO/eGPtc+JmSaoagltYVc=; b=wWMf+nQe5B/34hqIN8sqpervlaXL5/2jAPnWv88YCj6AJTvL9Viemp26b9S/QzgjJT Kvn0I9+JfmDm7IvImZnITMdUtGXfvGsZv2gBPwDhzaXG2bUGvPWjyCQwN0sYWdJu57IX ViFp2j1SODpDHoK2ZMPTh6/j229FaCU9pHDQBdjdytT+Eo1dFyqwKKl0WXdelRTT6f1J x5Hs8COVRdDhy1UQwpQ+0itqy9Cj6GBMRZHLHWSJWuyoAEToYU5lm4OVDCZb+HPvJ+n1 1A7qBk0UVwrsz9a3Ci56pRhlnuCLuVtG0gNbu4se+m2dhLTI/GO4IC/PAkIRIOIR6WxK QQ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AHmQxIHTPufi+UR2RfGLNgHO/eGPtc+JmSaoagltYVc=; b=QupbyQIBBkzTb1L9oXf/AH8dKdr7HaFxUGKjZGVIhh/O4ir+CVchGpWc5iixydpWRK fYnFW5c112EZVvdBJWBGEBM5hJwCqsK2b2WqRvhvGGFbzm56h44F2YLi6jZnR/dJHKkd sMihk1V8LJz8tw4oPny0C9Pdx0ak00E1bDiET6Wo/iHCHgaCuN5vkaNYYeGdF7R01snO a4TkP22gpMcYAMgx5v35LX5uLiMLn+kWdczQht3d4RWY1jNZJwYK0DYes2309WOfmIl7 GixfguT7yJGg/GC6fbcagu6NVUXRVFubnHIzpdwKHiZdR/tKiAbkIgiWpbF0rcZkKtPQ FAow== X-Gm-Message-State: AOAM533etQC0kdewqFRM2cmfoVgVzdI9jP342eTDvarp+DS4180LRrqF bcrAiXLe2dAWjLyZe61pZzr5wg== X-Received: by 2002:adf:f986:: with SMTP id f6mr4949309wrr.270.1600954490182; Thu, 24 Sep 2020 06:34:50 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:f693:9fff:fef4:a7ef]) by smtp.gmail.com with ESMTPSA id j26sm4411495wrc.79.2020.09.24.06.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 06:34:49 -0700 (PDT) Date: Thu, 24 Sep 2020 14:34:46 +0100 From: Quentin Perret To: Ionela Voinescu 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: <20200924133446.GA3920949@google.com> References: <20200924123937.20938-1-ionela.voinescu@arm.com> <20200924123937.20938-2-ionela.voinescu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924123937.20938-2-ionela.voinescu@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 >