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=1796141949; b=V4KfKJNZ/ixNnpLdCOyjfN3lxcgp3+qX2Tprr6pX0wlYG30udkR9S3Crj2ypHG+1fPiz xjH9VNqGsK28jdK+y/BPHBjoIWPpxaa/xZZzVuAJmUPrLvDnW8lsMXL8BT27wbyKLsep5 kq7qs1uOYDDk2IMBx++iDkFnqfk18JRV2jf2Yb1qAGNBIUE8xF/rHcvYf0kgwssImvOyc bxKn1qBsPWm7DmNmhpfaoQZd+TFlW25v30fFdsFUUcisDJZJBhRlKqh2hqe8zz4QIxBD/ WY7PywTw95izj4SbzXgIIHBky5EPYYZZeO5Y9z/tx2dfTvTqQ6TWohHO9hMOizAmXxw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796141949; 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=b40jwK66YacxpdmPm3tdTL0KvXb2v3UJuaOry6vdVaQ=; b=VH0FZML+JO/ZIVav/mEAty2NbjSNoa0kdPonurl61My9xX2Uul45wpnlwAduNsuihEGZ H96Uzm5LitmKGpnBgA+9CAJI1wS7eeImms+5PrdgbFam0ZVvVnYob2bJpS9WkbJIZq1Zt j1vzSVayULiTwtdmEpznFlwfjfNcdzve8QbPcxwjvqE6NuoW+/8c6zYw64nVHN/6NEEsu PC87LHsBQASf7j+fhU5A2IWQJrSeFSc7BNFB1Dq7rcx5kaeCufbrD9kSl1VpgAmAcreA2 LTp1AgYTge7nBiJYTfB7xoKzJErwpmmR7Pkx1/scjRILO/nahlqq+CQ5JWQpPdulRMw== 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=GqUpnD0h; 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 BA91460A2634 for ; Tue, 1 Dec 2026 16:19:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BA91460A2634 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=GqUpnD0h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=smtpout1; t=1796141941; bh=b40jwK66YacxpdmPm3tdTL0KvXb2v3UJuaOry6vdVaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GqUpnD0hAVYWaB1IncRWLxOpKW2gBnEwWkwYHY1GEqqKWM9sUrJ3AY4cBHywPJ/HS xlXPy6yA/batHgobwrnvEBdK71cANpAVkNC+JGyWlFTlhYUhpIgVsNluUn69MLKEFR yk/hNJ1avJF9nXzPCd91l/1yh6VoaLAxWaqMc364gvYFIHF904EpwmF7J8LlK2N5r3 XcMPNUUNikiI6bxXqSrXmolJwpHEjEMorTIVqUNpkfMyZp2g0EXCN1n1RI4KKzuYsV A1wKyq1es+PstWGNkFPLcN9vJmuTqoHFIri1k5gP3vVbMGsJ3Duj147ciwP49cbWJj FYQK39D/A3Tew== Received: from thinkos.internal.efficios.com (mtl.efficios.com [216.120.195.104]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4jf5g95jV7zYHr; 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 42/43] selftests/sched: Test parameter changes in deadline_bw_test Date: Tue, 1 Dec 2026 11:18:59 -0500 Message-ID: <20261201161900.284450-14-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: 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 calling set_other(0) at the start of T's second 500ms constrained > period cause measured() to probe before T's bandwidth is released? Yes. T keeps its bandwidth until its third period, at about 1000ms, and measured() probes at about 800ms. A run with timestamps shows it. The five cases still pass because T takes 2% of the CPU. The probe counts tasks of 10%, and T fits in the room left after the last one. So the count does not change. With sched_rt_runtime_us at 950000, all five cases fail. In v13, each case will wait for the third period of T before it returns: - reenter_pi_blocked_in_gap, reenter_asleep_in_gap and reenter_asleep_late_in_gap, in v13; - pi_owner_asleep_in_gap and pi_owner_wakes_in_gap_later, in the PI series, which will follow v13. They then pass at both values of sched_rt_runtime_us. Thanks, Mathieu