From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=90.155.92.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796311620; b=2XamFrfWWTsXWFYva8THfZpQ38aMbfR4c/GsqhqGxO8bNKSo8mxaTi3tvO79BuTE72zb +AoBgNtpXem5x/2CwdZRLvNd1nog9vkIOZrWoX4LYtDgX5ZuMQWU9//riGWpgvwJXV6oa xgoEHdiaG3Hfm1hGrlSTvd7QRTUhrqULCprrFOOKEobZ1Az6IbAA+ij/s3OcV+N+ptQ1R EV/JYsHDS9BMFrUZbkESEuAh9T9D9ZsMUABgbjBSEbU9iAO+Z125jYr/PVR+mcnkHmwqR c/KfBshDpJxycITOrctUJyx/IOhqKzeWBRBI8x/qco3ZDNvfoIvCBcnf4DKxK6RI9hA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796311620; h=DMARC-Filter:DKIM-Signature:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=tccKpn1vi88m6tnkEjHm3jAd7to2q1F+dQd9mMljaI0=; b=P52/fEDFPBBm5gehKu0IyG50u/OcyzWBlYQK6JOP7fpGr1PNQNMhh4wdv+Nov69Z2n3w wW9QWfAg1RSTkwdwMpNKmZnp3xQrIQIE9Tcb5X7eAa2bX9H7TRGvmmdTMn7J3YCZdV52S OtxE7fDyo35rlatvbh7Qpb2CgfP2RnUmUIodjyEJrEI0H3EjWtW+d/NHusS895txvdMC1 keAOkcN2lrZYhPQBM+7ha+5NSP2lCCkfuqb7a9xXiaCumP/HhDtawOeT1XDi8StVNqi5m vftKjEvXMf6kCcJSPAWP8lZedCV6cERYiSv9SScit+OQ8LR9jKTI+c783qNRJnbfr3w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=T6P1rtpb; arc=none smtp.remote-ip=90.155.92.199 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B26B2606A32F; Thu, 3 Dec 2026 15:26:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B26B2606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=T6P1rtpb DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tccKpn1vi88m6tnkEjHm3jAd7to2q1F+dQd9mMljaI0=; b=T6P1rtpbvZoOfRdMPV9tfjUF9G 6kH9IPqI723pZjpcYGQJ79wGO+m/y1ekj7Kip5jgWOBNo1nrm1dq7pCV9EVJFhGZT48riwBKPer0N xqPAJ2zjGqeIDKBsGEG2795z6gAwDuu0MxdXnqm9Jw2nqh7YL2nsWqj5UnfIrjUe4S4Tq8fbQz/+X /xjvfdRUdRFuAjBsMgkoQNKvMvn6cc5diF4KojJSP2Ya2VgcczQaOiQslYhJpz7qbkuP8kdQuIgiu rjBloMFX+fG0O36IqGs/gBZvinNU1Dwn4gK6+Qvu+wtC0RoFcWka4iApkJG8jo6Z+gSdYrIFYE80O ErnfsUAw==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ8hv-0000000DQdi-1CrJ; Thu, 03 Dec 2026 15:26:52 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id B132F30045A; Thu, 03 Dec 2026 16:26:49 +0100 (CET) Date: Thu, 3 Dec 2026 16:26:49 +0100 From: Peter Zijlstra To: K Prateek Nayak Cc: Vincent Guittot , Zhongqiu Han , Christian Loehle , Ingo Molnar , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , mehmet.fide@gmail.com, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar , "open list:CPU FREQUENCY SCALING FRAMEWORK" Subject: Re: [PATCH] cpufreq: schedutil: Allow use on UP kernels Message-ID: <20261203152649.GE677025@noisy.programming.kicks-ass.net> References: <20261129201053.80590-1-christian.loehle@arm.com> <80895dfb-a8d0-4ac5-af0d-8641ff8d3a93@oss.qualcomm.com> X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Dec 01, 2026 at 01:38:31PM +0530, K Prateek Nayak wrote: > Hello Vincent, > > On 12/1/2026 1:06 PM, Vincent Guittot wrote: > >>> @@ -15073,8 +15082,11 @@ void sched_balance_trigger(struct rq *rq) > >>> * Don't need to rebalance while attached to NULL domain or > >>> * runqueue CPU is not active > >>> */ > >>> - if (unlikely(on_null_domain(rq) || !cpu_active(cpu_of(rq)))) > >>> + if (unlikely(on_null_domain(rq) || !cpu_active(cpu_of(rq)))) { > >>> + if (rq->has_blocked_load) > >>> + sched_balance_update_blocked_averages(cpu_of(rq)); > > > > Why not simply trigger the softirq ? We already have the periodic > > update filtering in place > > Ack! That should work too. I was overthinking this. I'll await v2 of this?