From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C47B5298991; Mon, 13 Oct 2025 17:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760376010; cv=none; b=teq8WUTWJvo9KxuDvIqzFFFJ8FvA9Bl6uvFzyAHoMzfjB76HeF5SHI2/Mfz/X/u4nqYbn/cxrWDr5/tFzMISYxFbk7dmy3FQJJuTsZ6BlG1KVBvR9IN3itTFRnORYsR7Nn2Auk5/8PQI3SzPZs7ZwYRinUmeYB+tnSDvC+/0LTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760376010; c=relaxed/simple; bh=zavMlTcbgZfky2yOOnYd0KpinLJb3+M4w6IdqSl67Zs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tecaUAFm2AqIfqE8Sa6AZRJkXyOwDj+AyiRwQmcDZTbV6YKRS8TywVRIGbuueWCHS05rSlIOkxu+vJCF5e2nOhwAZr+drNKkUTse9t+hbcJB6+Pxj4BK+l2npfjL+pcL5LQGy0IIxETfJ2Ef9VkOIk+j/a6D/v+fjfA3pSCFeUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dlpwsaby; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dlpwsaby" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FE9DC4CEE7; Mon, 13 Oct 2025 17:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760376009; bh=zavMlTcbgZfky2yOOnYd0KpinLJb3+M4w6IdqSl67Zs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dlpwsaby5AyGWjzYnk4+43yGdMmkN7TdUiUdD3ZkHDDpsyo/ggdGjrrsVs80Nww5B LD6m8K42jLnN6ycPAMWB5SDLE+O80MWp+iadbhx8eR0/Baw8LLclu1N+NblmtQ6uVQ E8eoI1lv3kE/rO6582XG+9OjQc+/LGegQz7R177/XZeRscL3VBmdu1/h16qnNTzvp8 74LcfdAbVvjxWFw+oQFDENXLGSn2+yU/6BnlBkRITHHE8xzlcQ42UPwiBBYEG4i5ln YIBC45FiSRRctIJ3K3/+vGe4VitEDkQ6BLrAE7xf99rFxwwxJWf6G0Tag9mGzgpOki apStSwOQg6XvQ== Date: Mon, 13 Oct 2025 07:20:08 -1000 From: Tejun Heo To: Vincent Guittot Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, mingo@kernel.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com, longman@redhat.com, hannes@cmpxchg.org, mkoutny@suse.com, void@manifault.com, arighi@nvidia.com, changwoo@igalia.com, cgroups@vger.kernel.org, sched-ext@lists.linux.dev, liuwenfang@honor.com, tglx@linutronix.de, Joel Fernandes Subject: Re: [RFC][PATCH 2/3] sched: Add support to pick functions to take rf Message-ID: References: <20251006104652.630431579@infradead.org> <20251006105453.648473106@infradead.org> <20251008135830.GW4067720@noisy.programming.kicks-ass.net> <20251013110449.GJ4067720@noisy.programming.kicks-ass.net> <20251013110911.GF4068168@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Oct 13, 2025 at 03:06:33PM +0200, Vincent Guittot wrote: ... > > And then we have next_active_class() skip fair_sched_class entirely when > > scx_switch_all(). > > Ah yes you're right. fair is not called in case of scx_switched_all() Yeah, when siwtch_all this isn't an issue at all. In partial mode, the extra new idle may be noticeable but I don't think many people are using partial mode, so we can worry about it when it becomes a problem. Thanks. -- tejun