From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 596DF267B07 for ; Mon, 19 Jan 2026 11:35:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768822519; cv=none; b=P1HaXYPAM+94X41gEAYiciGZN+TyXd8rCBiz7TgEiHczU3O34i3FPe7dkiY6rzeuTb4jOZ22JR7K9njsMY4/P6qE++zwKRvE1OQCbpVwGTA4oBhKCva25+4SADZU+3tgjP7NuCSJP9uZ6/7JJgPKG3xdmWPIVxfO3oXwD00I5oA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768822519; c=relaxed/simple; bh=wcMNmsz8MIooQoKQs33DRCmEYgTeBEbRNqSTQQHd1c4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=tvKcA/6aDCXAaC9wx3GKMzn7wFu+MO0ST0zU/OZ3OQpvuK/jN3ndHdevIqUwedEMkVs1Kygik2nIDkcNYQ60+Zc/vmYq2m16nhs5wGy67TU2zIa21/fMoS2OZP7dSQOhVoR7UhU2tfFagdA9IQu7XZWudgy+etyWw0zxxjIgPp8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=T5lmqY9p; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=pjqVA5JI; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="T5lmqY9p"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="pjqVA5JI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768822516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=wcMNmsz8MIooQoKQs33DRCmEYgTeBEbRNqSTQQHd1c4=; b=T5lmqY9p94o58BwdFSb0r5KjEEwiuq8wVrb4fJzo3OBa0vFoxto0EWJgay5VECSeIcy72c LnKYuAd93QPemXIn0cnGDweESleOUh+dFxF2poCYObWp06Cshzeo9SMlUJnqRtOrc6oFii 5XA0zUD9SAGf8Md5B0WV48njvsFQ3+A= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-505-c8Rn16ZuNxmHIeaqmuzAfQ-1; Mon, 19 Jan 2026 06:35:14 -0500 X-MC-Unique: c8Rn16ZuNxmHIeaqmuzAfQ-1 X-Mimecast-MFC-AGG-ID: c8Rn16ZuNxmHIeaqmuzAfQ_1768822513 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-430f57cd2caso3644658f8f.0 for ; Mon, 19 Jan 2026 03:35:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1768822513; x=1769427313; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to; bh=wcMNmsz8MIooQoKQs33DRCmEYgTeBEbRNqSTQQHd1c4=; b=pjqVA5JI0N41e0TaGjasxwxOCds0litU3m3wWiMHjUlDA6suc9DZY+k2hKUeTzSeva Tla7hGvQ6ulPZn23idiDZrQSbH4gHuZf+dLbyXN6RNlMxWMga3Uyq/J2712LuiScjNkL h7Zdk56w117u3HloHVxeuOA4wwk1uD9dTNgEAlv3oZGJd8lN4Eh5/BkUsExXAfaVpx6b CWM2UCk4Vmyn9EIXrZztyPrVVtFFpPy6u4sMiDb3it046tPqkgipx8q3g38PBn3pyyJG Jm+IyTahVn1tlQ7aNPA3VhlQsyt3ikcX3ucQkOUVJWsVtGjjMsSuAac+hUNruxpb3tyX UkLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768822513; x=1769427313; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wcMNmsz8MIooQoKQs33DRCmEYgTeBEbRNqSTQQHd1c4=; b=mFgiTkDp2t/Oe8+xBIXX0hdzCldTgYDTsyPBI6WDVlooGFdy2L/vM/SBH0BfLuAEtl 3Ui9QnGGySFnKlvnx8tIt3aFAa64V0v4ijkqZbuuRv9M7HmNNLoSbK0cDjYVcZfzHG5O 0OBElH8Mm3FSF/j95dXgNh9yT0ELcWoPglhGMNDAHqJQ5V5uzLbBvB2tvJvBWbEfW+70 l3NT71MithXxtS1TJFsSdE2mrVi3x+b4o9XvPSOe3LpVAbJ2LtElkurWNoPe+hmsyqhp cJnI1D7egDv2++NEHjgUUnJXcej0ejiw5Fr6/OACnAHQX6fVDfxd+uA0/WZCQK45v8fY wMaQ== X-Gm-Message-State: AOJu0YzZ0nlSh55Pa4bR31mX7Tf5x5TVkFDIferCBHGtKx42TqfLU/Ty Xtd76527tjPPBl1jeELLQAVvQT/jWRzE3w4a8wXmfHzW6kX/7eHxs4ZJfzy+NhoXrsJLsftnslM 1sgnO/PHCMsLBwcfgF3WSaaYX+h3OaAzoMoXOjwE2Q8Xsz0gECnYBPRDMXvqFjcEGKQ== X-Gm-Gg: AZuq6aIE3olVXq03KfVaJLTsjmetwdc5Ub0cp7GQ5kqJQ5/+l35arOvnay9hxlrF0te PqcRaJK4EVIsjA5C005eVRHvLnkqUDPTc3hNcKibWGJADn9PL684345quu4sPGzK/yYtDdsdzSy La6t6T5JWxe2VDA4SnoEhl/thhd1yFyA/a2kEblu9kkgmnnIiDFt04u2ze8NjMkxVLLOQiBH6sn kGSr+ZAHUigbIYxTSAgKbZCuylzH+YYfYkCXuW0trjSpZ78y57rGJuWrewp4IjuWpNsQ+3dx87w /feJVJ2VxpwkX3P6+2UYBHe8Pdo7hVHUKoBk7e60wgWhLWsOqdfOyF/V2e6LcfHOWrYa2G3lfOH BQo9Yp8Yil4yDnpibglLUu46bIppSyYzIYuNXncmacpKL6A1qmwwWOktv81klS3eehOIDEiLDgz 06rZaNIBNi X-Received: by 2002:a05:6000:2f8a:b0:431:701:4a2a with SMTP id ffacd0b85a97d-4356a089804mr11261064f8f.59.1768822513294; Mon, 19 Jan 2026 03:35:13 -0800 (PST) X-Received: by 2002:a05:6000:2f8a:b0:431:701:4a2a with SMTP id ffacd0b85a97d-4356a089804mr11261032f8f.59.1768822512887; Mon, 19 Jan 2026 03:35:12 -0800 (PST) Received: from gmonaco-thinkpadt14gen3.rmtit.csb (185-132-178-103.hosted-by-worldstream.net. [185.132.178.103]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4356997eb0bsm22352413f8f.34.2026.01.19.03.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jan 2026 03:35:12 -0800 (PST) Message-ID: <5df16facba05b84857ad09cee12df0c19a551285.camel@redhat.com> Subject: Re: [PATCH v4 14/15] rv: Add deadline monitors From: Gabriele Monaco To: Juri Lelli Cc: linux-kernel@vger.kernel.org, Steven Rostedt , Nam Cao , Juri Lelli , Jonathan Corbet , Masami Hiramatsu , linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Peter Zijlstra , Tomas Glozar , Clark Williams , John Kacur Date: Mon, 19 Jan 2026 12:35:10 +0100 In-Reply-To: References: <20260116123911.130300-1-gmonaco@redhat.com> <20260116123911.130300-15-gmonaco@redhat.com> Autocrypt: addr=gmonaco@redhat.com; prefer-encrypt=mutual; keydata=mDMEZuK5YxYJKwYBBAHaRw8BAQdAmJ3dM9Sz6/Hodu33Qrf8QH2bNeNbOikqYtxWFLVm0 1a0JEdhYnJpZWxlIE1vbmFjbyA8Z21vbmFjb0BrZXJuZWwub3JnPoiZBBMWCgBBFiEEysoR+AuB3R Zwp6j270psSVh4TfIFAmjKX2MCGwMFCQWjmoAFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgk Q70psSVh4TfIQuAD+JulczTN6l7oJjyroySU55Fbjdvo52xiYYlMjPG7dCTsBAMFI7dSL5zg98I+8 cXY1J7kyNsY6/dcipqBM4RMaxXsOtCRHYWJyaWVsZSBNb25hY28gPGdtb25hY29AcmVkaGF0LmNvb T6InAQTFgoARAIbAwUJBaOagAULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgBYhBMrKEfgLgd0WcK eo9u9KbElYeE3yBQJoymCyAhkBAAoJEO9KbElYeE3yjX4BAJ/ETNnlHn8OjZPT77xGmal9kbT1bC1 7DfrYVISWV2Y1AP9HdAMhWNAvtCtN2S1beYjNybuK6IzWYcFfeOV+OBWRDQ== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.2 (3.58.2-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2026-01-19 at 12:04 +0100, Juri Lelli wrote: > Why use pi_of() in above cases? >=20 > For the first, in case the macro is called while the task is actually > boosted, we then might continue to use that even after such task gets > deboosted? Mmh, yeah thinking about it again it doesn't make much sense considering we= are not tracking when a task is deboosted, unless that always corresponds to a replenish. Thought that doesn't seem the case.. > For the second, current PI implementation (even if admittedly not ideal) > uses donor's static dl_runtime to replenish boosted task runtime, but > then accounting is performed again the task dynamic runtime, not the > donor's (this all will hopefully change soon with proxy exec..)? At this point I should probably just ignore the pi_of() right? I'm assuming the original (non-boosted) parameters are more conservative an= yway so it shouldn't be a problem for the model. Thanks, Gabriele