Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1514577ybj; Fri, 8 May 2020 03:08:34 -0700 (PDT) X-Google-Smtp-Source: APiQypJRtvdKvSykM38IYiighgW8fvD5tWXL+3xhctqgoqYUImZoSQ6fAlanBjvQDskXH+s2UhA+ X-Received: by 2002:a17:906:52d6:: with SMTP id w22mr1133633ejn.353.1588932514818; Fri, 08 May 2020 03:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588932514; cv=none; d=google.com; s=arc-20160816; b=nujYWdpsMceShp4n9ODJtbC3Bteo53jBjjLESErnCDsY6T56NnzKSy5QJ/tOzxPHgv j1aybmXSlMA/DCpmthhTtSoixrt2urXn3nxFKgfuc8+fdTU9PJAtph1Xk68i/86PVwra idyafmpXxe2n+2PfsDKzBab6zr7VkPrtvC3ijPt+XSiXoZ/iRBLux2jsvG3lepF/dBWb 8AltzGTHPWivxB164aXOpwz8JWpGsbUpb1HFDSDi0eGPhySlGiB/7rqEZUMjcEHYNI2b DrZaILWZCUutk37tTWZJeDNQgh97WEo92PYiF94Xg5UuPX+T0KnVkUG9UXew+l+PDiYH a6ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3ahmjo7zWj9jAF2hUJ67B2bDxaSBhv7Y9eLaU0WOfHs=; b=DZJCggONcFHZzsaMBlYn3ddb6gchqoYPjHSUCzhIttFofPtspvR8xeu6YKZN26pSoz wk5sVhNRVMOWCQK9nMyQbFhpC+uoyfguGi/xoN+DlF9xRrl8RUymL01kiDz3XSCq92QV XVp8J5tU71VzdGZheOu8SzQ/ptbFoCrhBlRryyNUsiXws8cqIAC4ocDWzwhV+ViFGQAd KkJx2o7Df+xGQN7KTN3iaQ40YRRmSQTEvhR5yaUu1qMyMocXEoB3HLuzxOvWyszGGd36 0lFBVe+Jn3yQlOBX4OhfOamwARQdQB8iTdqIMzX+VPbwGL0wMeZA66ujVnEXGk40VeAB QMXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ow1M+5cp; 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 a12si625232edx.283.2020.05.08.03.08.05; Fri, 08 May 2020 03:08:34 -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=Ow1M+5cp; 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 S1726750AbgEHKEc (ORCPT + 99 others); Fri, 8 May 2020 06:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgEHKEb (ORCPT ); Fri, 8 May 2020 06:04:31 -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 3D61BC05BD09 for ; Fri, 8 May 2020 03:04:31 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id e16so1168605wra.7 for ; Fri, 08 May 2020 03:04:31 -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=3ahmjo7zWj9jAF2hUJ67B2bDxaSBhv7Y9eLaU0WOfHs=; b=Ow1M+5cpGoKhWIgArtKKdDwzijj4tPOSBLNMT4uEWbCCdOY+v3p+h51Tuyq/2uxqdO qwYA6XIh2oBLvDb5IYdxEienwVhPwBQ6WPyyHW4iy3BTjThXhZRLOqg7rcb2dc3Q4qSM zd+XliY65XMylQmL3UkGsQqEYt+rNjKCcDT8WOPaCNtA/+WxGOHgUy7Q+MZeXre3FEJB Uvz1guxee4h+GfdY5rM5IDKy/68yXPskbFLb7PpMUEwOZTcxRB7nODkAkJGSRhyn/KwL Qu+AxulP295egIYe3FFgQDt+ZxGhz/S4aGq68urvQbL3qqNCvDcYy0Mnqb2ld+Wx+6ei a01g== 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=3ahmjo7zWj9jAF2hUJ67B2bDxaSBhv7Y9eLaU0WOfHs=; b=kAn9IT7kJldFz0TqXbzMJ+CViZmOPlxJNNtevX88DRkYJRjF1T+87CM/YERnMyIgqe t+88UTm7X6cLl6dWPs/1oggrS2k1JugGiDkOMNhmBvRO4i8whxmG503IyyhftBFFdZV7 zh/R7mkDEduvlqzltfsYEh6nH9aFYbaHUKI/cl14yh1Pj+9q/FTuDeUXRd7/Hsg1XhpV gvnB6ekWCfPVuFkdmjOQ+hu0gW9gTg4LKgt5tX7crMae0Tl8r7eihcofXSwgNhSFjYlM SUTzMIzbLDJuU4E0U4EMebfRQLZdbnyWYAzQTGGtE/JWlYwEZ9JKj0kWfGwVk1QqRXLd d4HA== X-Gm-Message-State: AGi0PubR2lGaa7gZUmp0N7QGYYE1gsZiVzA2VxF/8bTut0vMLPimgbv1 /balpoownsqKmmLjoOi6wNA9DQd9XhY= X-Received: by 2002:adf:fa92:: with SMTP id h18mr2098339wrr.260.1588932269512; Fri, 08 May 2020 03:04:29 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id c25sm12210763wmb.44.2020.05.08.03.04.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 03:04:28 -0700 (PDT) Date: Fri, 8 May 2020 11:04:25 +0100 From: Quentin Perret To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, sudeep.holla@arm.com, gregkh@linuxfoundation.org, rafael@kernel.org, viresh.kumar@linaro.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com, fweisbec@gmail.com, tkjos@google.com, kernel-team@android.com Subject: Re: [PATCH 08/14] sched/core: Export runqueues per-cpu array Message-ID: <20200508100425.GA239353@google.com> References: <20200507181012.29791-1-qperret@google.com> <20200507181012.29791-9-qperret@google.com> <20200508080759.GL5298@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200508080759.GL5298@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 08 May 2020 at 10:07:59 (+0200), Peter Zijlstra wrote: > On Thu, May 07, 2020 at 07:10:06PM +0100, Quentin Perret wrote: > > It will be needed by schedutil once modularized, export it. > > > > Signed-off-by: Quentin Perret > > --- > > This is only needed for cpu_rq() -> cpu_bw_dl() in schedutil, so there is > > probably an alternative if exporting this isn't desirable. > > --- > > kernel/sched/core.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index dbaf3f63df22..537eb45b4274 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -36,6 +36,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(pelt_se_tp); > > EXPORT_TRACEPOINT_SYMBOL_GPL(sched_overutilized_tp); > > > > DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues); > > +EXPORT_SYMBOL_GPL(runqueues); > > NAK, never going to happen. Well, I should have seen that one coming :-) As mentioned in the commit message, we might be able to work around. I'll cook something for v2. Thanks, Quentin