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=xtzypDGh3KQXiUBibOWj7Hbf+z2WmV39vqpRg8l5HV/lQ9P9Wvvjp2UUz5GUpe3IZj4Y rMdeHoTgxF1BStFY3L0Aqft3rWSPjWwycoiYF6HhqQ85Iv804J4GCOs6deVDeUlOCsGtt PUdksgduLqzt2QVfgA7FSZ5wFc62zhlgAEw/S+D3HIbzNiOX9aPiBH4rrMDO9ZcOHBcRb mSxDSuA2jYAv/TUhUz9zsWgE3v4TqL6cEipASOhRVg0R2PcYJUK2XQsnRjmkpvGBv09bS BvnIiMtI4lI3ElayUDGPbvPcEKRRkWbplDeJLzH42aq1VTgoT6d+MpeDsxDRzHEGmYA== 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=fLOQ93uKC+1KRzi6PS67Gik2Gc3a94azTGy/sbWxXSw=; b=LhOpSxPTLICvwOUNqdD8MtlFQk/yszitf1MzLoEXxn0qLDnZfv9MXeIQSjbLYjj2BwCW +zEUJPnCaqJCtLK235AGFYkMU0CD6fRwGIpdAfLNep7YUnv09LuFQJsLlC3JQ1h/2rJUe wQfmDhvsU+xjdKeyXu1IOom6oA9LCQysHBZyIhhMwr65KCa0sKoiVlM5WltVKqsqv1Wzk jTW5njBTvVnCC85XUnGqMrTJxaw8IT0H8WLz1n3CN+UsQs1HomfwonGAUdU4AHVMMddeb fx0clNv0MfrsJsCYpYLfKtz36H4WAvokw6eh0NsD3UWC+V2ZI1YS41Pv+7aiVzqKZrA== 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=sGzC+Wp7; 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 4E38C60A2609 for ; Tue, 1 Dec 2026 16:19:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4E38C60A2609 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=sGzC+Wp7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=smtpout1; t=1796141941; bh=fLOQ93uKC+1KRzi6PS67Gik2Gc3a94azTGy/sbWxXSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sGzC+Wp7C8nJS+d76350Rh5Mzn8L4qc91fr8ebM4J0qdgwAN7xRx9x5o8XGBlRMuo ZueRjK7/OMBvTCPW5E76rVFbYUikReooL+QaItW+DZR92g5IHsto8Kd0Rt2NGYE67L pj+LGb2RICLphJ5fwNq3IEKl/impAUJWMSBug4M2Xdz3LmBbM17il0GOsOCwz9EJgx B7NMMzCCIrL1ut0sx52ioM6Kn0AERJ8T9lCEcMfDLlEC5E/hd0CQAqQqc8vHTYWO6S AoSuGzfb2Xobrh+MuuaIctXBJfE9ZRqYucPlmESZ37h2OWlg/wY9jPj964SrZxS9TN 1IdqEIFgNCO4A== Received: from thinkos.internal.efficios.com (mtl.efficios.com [216.120.195.104]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4jf5g94xc5zYX6; Tue, 01 Dec 2026 11:19:01 -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 41/43] sched/deadline: Run a boost held at its first refill on a donor period Date: Tue, 1 Dec 2026 11:18:58 -0500 Message-ID: <20261201161900.284450-13-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: <5b1fecd307f51ac34910dc854f64c64a63dbb7e3.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 holding a boost on its first refill emit trace_sched_dl_replenish_tp() > twice for a single replenishment? Yes, in v12. In the PI series, which will follow v13, dl_boost_donor_period() will set a new donor period itself from the donor's parameters. It will no longer call replenish_dl_new_period() for it. The refill then emits the tracepoint once. > Can clearing the donor's parameters corrupt dl_se's period and saved > boost_* state? It can, in a race with the donor leaving SCHED_DEADLINE. What is left is one stale set of boost_* values. In the PI series, the next held boost will not take them as they are. dl_boost_donor_period() will fit them to the new donor, or start a new donor period. Your points 2 and 3 behave as on v7.4-rc2. They are the refill from the cleared parameters, and the second reads of the donor's parameters. The PI series leaves them as they are. Thanks, Mathieu