From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 D9D7638B7DB for ; Wed, 18 Mar 2026 12:55:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773838537; cv=none; b=kCGjMqtk1cVq0sxc9MCeOkky9DZ62EL9TYOB/BhSvAj7UdV4Tead8o9CPg7vUrxeThgGTiLVqptl6pZZH88qxbbM3Yg0/Cx/+y4EUzxqi5cbzmKviQuGtm8K8Qdsm3JxzCMBDpVBTt7dbY9iNEfzTTghjdf3vIf8x7cN7XTr+gw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773838537; c=relaxed/simple; bh=dFFK633pO4/ZpN2OBlfxHVVunULzx7Kmn1a0R30g6No=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JZHLypdt7CXefVVZMcnGKJNqVRLrm4whOkCWWNsoaZQhnAccMd5FYJFpcelDcvh24kMNbvNOTNFhLn4/9nhl6EkbM72PEJAJuqrkYNzilmQO4KsVc/Y0kTMbwNhWDKwZMvmtTZ5Gaelc3S41S8x5yoQ4QonMx+5UV4xs3xFzZzE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=TBHPdt1A; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TBHPdt1A" 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=dFFK633pO4/ZpN2OBlfxHVVunULzx7Kmn1a0R30g6No=; b=TBHPdt1AE6KUFmyfATL6z6HNZR wJWwW70Qxbpuw08Q06hqPfCplelApio7idnz/HvIJMqE6eB113eWKNi4AuGM9w5xj0dKpuplkSNud kAlxsgeC0FbUlG8txbZ4qUv59fUSNhnB6u2H03b5tdK2nK9CPrsezBfQLCj4XfftwwYuEgCmeMq9J pgggntE7aIrT2Aswxgr0HoEKfBu13pDlPnjONIX7BvG55wDsBEFITs2DaWIUAy2Ss58zHsjnmDLRf q/WDaJoOgFc1H0lfNDHue2fUGXLeS80kDT7q8cZtQW9L8OBORIK91JFSOiFS3SXSDQXP14tw6S0dm EVi1D7Mw==; Received: from 2001-1c00-8d85-5700-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:5700:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1w2qQl-0000000BDpx-2HyR; Wed, 18 Mar 2026 12:55:23 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 035C13007C4; Wed, 18 Mar 2026 13:55:23 +0100 (CET) Date: Wed, 18 Mar 2026 13:55:22 +0100 From: Peter Zijlstra To: K Prateek Nayak Cc: John Stultz , LKML , Joel Fernandes , Qais Yousef , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Valentin Schneider , Steven Rostedt , Ben Segall , Zimuzo Ezeozue , Mel Gorman , Will Deacon , Waiman Long , Boqun Feng , "Paul E. McKenney" , Metin Kaya , Xuewen Yan , Thomas Gleixner , Daniel Lezcano , Suleiman Souhlal , kuyo chang , hupu , kernel-team@android.com Subject: Re: [PATCH v25 1/9] sched: Make class_schedulers avoid pushing current, and get rid of proxy_tag_curr() Message-ID: <20260318125522.GH3738010@noisy.programming.kicks-ass.net> References: <20260313023022.2902479-1-jstultz@google.com> <20260313023022.2902479-2-jstultz@google.com> <20ea3670-c30a-433b-a07f-c4ff98ae2379@amd.com> 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 Tue, Mar 17, 2026 at 11:11:20AM +0530, K Prateek Nayak wrote: > Also, deadline, RT, fair, and idle don't really care about the "next" > argument of put_prev_task() and the only one that does care is > put_prev_task_scx() to call switch_class() callback so putting it as > either NULL or "rq->donor" should be safe. https://lkml.kernel.org/r/20260317104343.225156112@infradead.org Makes fair care about the @next argument to put_prev_task_fair().