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 9B9A13769ED for ; Tue, 19 May 2026 14:46:36 +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=1779201998; cv=none; b=XCzt1QBu2OvX7wB5pRp5zjQ4IDkmEFnBXhfMUSFt79ChwVHoYjbNMQkLeYafezBeV66PaJO8mJ6UijAYUbyTHemN4vVDAhCwbh/+Nuthzw8349tGZBC13yfTeu3NOAWky2hDq0HqHihXHwnBWNKu++5xhxTEi2LjkkZv1dA1hKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779201998; c=relaxed/simple; bh=lVgBLx1YntmZ74v7y5M3GjEj2659T/lIkXRxY0csxkA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fvHuAAhuZXt9S6NUm4WVHgUcYz+QU2j6oA5QNfxJxMYTMhGGWW5KcHIzlZJY7MYU4P2WXOSSzo6BOBqiU6kO57v3ptGCCoqtbme6qd45lMvUmPRMoBvDXf+3CVZWUendaG4rA9kk5jBMszQQXVYu6SjSluOf+2j6SAhjTv0SVnE= 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=lBVdIaav; 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="lBVdIaav" 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=Q1Q6CKUS/Opaax4jeyZmSiCTpJ9BcSde7n2biAdZBqU=; b=lBVdIaav/9vJrG50uvbob5m7u2 xDRqZOsIUWiKHlAQuXX4GBSBnsInPot6Uvo1eiUOZDOIISLS4I7YGGVvOlYfMNxty7dIZv1YHvtOK TBrFMVMKSflSzCNXu7YWSNTQWhnrXjTsj3VMpiCWFi/ztNC0l8n2L4cH4t0Yl/oA+Ig3UAHLxkhv8 v6mx3hB2qoK2iGrTcpUP2vVaYyuCvWS7OlLG5QzQD1RasK8mOVQz7167NUDBdvqTX3RHgO5ADvXMC UdJ4x8uh9veYYqcCgalD2JaAO89Fw6ePeDhV+59QbF/0pMOhlZR0aYdVaEMB9JIyXudtJNcAbdRYt HnmB1ZEw==; Received: from 2001-1c00-8d85-4b00-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:4b00:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wPLiB-0000000EYCj-401E; Tue, 19 May 2026 14:46:24 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id BF661300B8A; Tue, 19 May 2026 16:46:23 +0200 (CEST) Date: Tue, 19 May 2026 16:46:23 +0200 From: Peter Zijlstra To: John Stultz Cc: LKML , Juri Lelli , Valentin Schneider , Connor O'Brien , Joel Fernandes , Qais Yousef , Ingo Molnar , Vincent Guittot , Dietmar Eggemann , Valentin Schneider , Steven Rostedt , Ben Segall , Zimuzo Ezeozue , Will Deacon , Waiman Long , Boqun Feng , "Paul E. McKenney" , Metin Kaya , Xuewen Yan , K Prateek Nayak , Thomas Gleixner , Daniel Lezcano , Suleiman Souhlal , kuyo chang , hupu , kernel-team@android.com Subject: Re: [PATCH v29 7/9] sched: Add blocked_donor link to task for smarter mutex handoffs Message-ID: <20260519144623.GA3493195@noisy.programming.kicks-ass.net> References: <20260512025635.2840817-1-jstultz@google.com> <20260512025635.2840817-8-jstultz@google.com> <20260519143238.GB2934902@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: <20260519143238.GB2934902@noisy.programming.kicks-ass.net> On Tue, May 19, 2026 at 04:32:38PM +0200, Peter Zijlstra wrote: > Notably, blocked_donor is a back link that is specific to the current > schedule() call / donor pick cycle. > > This means it is stable when either: holding rq->lock or disabling > preemption -- because when preemption is disabled. ... you cannot schedule().