From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=158.69.130.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796141948; b=Eu6FjxjK7ck0yvEc+lS9CkxNWEapblTBBef7286tNgc8PijOJirgeviMOT1K+fRTsi5m HPJynbRFGfH3AjzWAzyX0kf8gbI1xct7wVFriN8h+Ji5BT3rLBJ6owbWrqcxgI1VH2Ip1 uSHlouG3EVKNSIxbDYzvM4y2OYZABiaR1v6VUBwMew9OBnVXKBTexH4LgPEcCMcu9TK56 VNg6YCWGpZVFXc/tmV+Xq5BR0wLrkpjEp7Y5WKbtNN9OGvpb+8+wQrm6y6m5uz3bZKqe0 kUsvl58pdi05wqXZmUap6hGU0Ljhsyi9NBuunWhc2mlZpo9/SAlOfgnK5qm8WP4pSZQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796141948; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=cCrHWcmTbpzH4yQFIMUwsee0qU8q42QUoKG2Jc/UThw=; b=WwsjoP1DMwgL8Tdy/NkkrfYgkvWcGSJvi3cQQ3oFqIsCJQ1j0tcq8ki7iC/6ktpSxRyP iZrsT1J0mqmgXylEWouU24XALNGTZxVIK0bw61QkTI3eXaJXWebkNMdEzvrns/F+HZMKn cHSaNZ5UiU0szRnXQ37Bxq3cKl3Mhg0F7CX96akWRjIj8v8mjrnaS/YUY4AwJ8nt5KUs5 1LHly+PrU8mRW04WYBsHqBoQ1xrCWRmH5tfbEJBGwIVH3dgyMykQJGXh5Jnu2qJ1qolvK Ey34IalnzhxbPzGR4v6eyhxy0s4lXtOMwkOxC4o8yRyuA2/mnzcDfqMQMtRwjmF51EA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass header.d=efficios.com header.i=@efficios.com header.a=rsa-sha256 header.s=smtpout1 header.b=UXEuB28E; arc=none smtp.remote-ip=158.69.130.18 Received: from smtpout.efficios.com (smtpout.efficios.com [158.69.130.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DC17606A6AA for ; Tue, 1 Dec 2026 16:19:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9DC17606A6AA Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.a=rsa-sha256 header.s=smtpout1 header.b=UXEuB28E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=smtpout1; t=1796141940; bh=cCrHWcmTbpzH4yQFIMUwsee0qU8q42QUoKG2Jc/UThw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UXEuB28EklFOzavaf+88mMwcr47AJob3ARutr6WAYfJLDZZKgIE1K10/sxTzClY4n +6zrYjOoiUibSvhVxrZiT2clmBCvD4p7zBxD5E69JPvm2tPLfIbdGBCgTh8BECFGoO 9cV16DmLRRKeMad6s328eCh8KhAJW2cX3MAt1WD54vEw8DMgnUkriJzrjsivb56HdF ZX0USyLwwxVP1bXTKgljK9wE7fIYgbEoNDfzmEVBB9gZCjQm8LNGveMUSch0Qhixsd Gj+ZNiyyGzfUldMNkrvggLTuEq1wP+EZngP1nL1fqTxeeZS8r52fiOslyGfA29wg3o ajyWopEhNrshQ== Received: from thinkos.internal.efficios.com (mtl.efficios.com [216.120.195.104]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4jf5g85nX8zXZ1; Tue, 01 Dec 2026 11:19:00 -0500 (EST) From: Mathieu Desnoyers To: sashiko-reviews@lists.linux.dev Cc: Mathieu Desnoyers , linux-rt-devel@lists.linux.dev, tj@kernel.org, hannes@cmpxchg.org, mkoutny@suse.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v12 22/43] rtmutex: Do not stop the chain walk at an owner whose top waiter changed Date: Tue, 1 Dec 2026 11:18:50 -0500 Message-ID: <20261201161900.284450-5-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: <482c6c8e24d0aec9e9e875b14087fb465034fd6b.1795771148.git.mathieu.desnoyers@efficios.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Does rt_mutex_adjust_prio_chain() also need to reset requeue to true on each > retry and step when detect_deadlock is enabled? No. requeue stays false by design, as on v7.4-rc2. Once requeue is false, the walk changes no priority. It goes on only to look for a deadlock, where a walk without deadlock detection would stop. A priority change made while task->pi_lock is dropped starts a chain walk of its own: - sched_setattr() calls rt_mutex_adjust_pi(). - A walk that changes the deadline donor of @task, in rt_mutex_setprio(), goes on to @task. Each of these walks finds the waiter of @task out of date, and requeues it. This patch will leave v13. It moves to the next version of my rtmutex series. Thanks, Mathieu