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.133.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 1D44A366DDE for ; Mon, 19 Jan 2026 13:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828609; cv=none; b=RGU0sliEP1JNggxT6zv696eFLWIHzeUv/wRqa2E+jr7hTl8MI3mGsBrLux1WjFw9lDxpEkLnVfqLLNXp1seWYQPCgx5y5hpe6HVWSE/A89WKADZ3Rm+P7+WjOmIUgmJ61pSQsbGU9Vy9UKjfwxIF8b6qXCulLYKw/gmqH0NXNHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828609; c=relaxed/simple; bh=K6XZoyNgA4mHZWohG8tc3L3ulzvqxFpcRY8Ozu63mcI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hZ8a/qaB0Gm6WkUgyTgTewwDccyJ5pzozuC+J2A8ah/BS2+Jvj+evoZzWZzqZgzWZEC6EgIOW0fvxBFRMRrHG14jtF7keQ+2/bWl3Azy0zyz1ZLq7jeyw2J+ineMLDU5bysecHxnt9xqCgJxv5xvTOfIrk0I/b9bEVZ+3qRTByU= 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=BUUkjRGS; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=YcooZsoa; arc=none smtp.client-ip=170.10.133.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="BUUkjRGS"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="YcooZsoa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768828607; 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: in-reply-to:in-reply-to:references:references; bh=Xdz4rb1d9PRbGxq2hK7H+gxdLsBDCZap6WRSCpXGcXo=; b=BUUkjRGSf1YVGfaAeiaU6wWnfFbLp8k4yrYCXxZJdVxaqYG7tfqNNA/BMIGFyo7mmfNXEk gBAHwEAozbQOvA7jl/mxJHyzmVJeFVrZYnlENqFeZiXVguwW30eJMzwv3LAFjZ//gzVRy0 QG1Vkm/8ZUeGM5YuK560g+FDWIGPObw= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-684-2SiwwpwQOLaYsZtaOj8f7g-1; Mon, 19 Jan 2026 08:16:45 -0500 X-MC-Unique: 2SiwwpwQOLaYsZtaOj8f7g-1 X-Mimecast-MFC-AGG-ID: 2SiwwpwQOLaYsZtaOj8f7g_1768828605 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4801e9e7159so15738405e9.1 for ; Mon, 19 Jan 2026 05:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1768828604; x=1769433404; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Xdz4rb1d9PRbGxq2hK7H+gxdLsBDCZap6WRSCpXGcXo=; b=YcooZsoaTf4IirDD+FrevgLX490MyJhAKcuS9cUN1BQKTteJfc/p6aPo6+i3YXBx36 HWQMGJro3I8TVDmrmBxNahH9gdH38QGhX7kanG/nbP4pqFIfgeZe0RZTcKgBjayryCKu x8TX3eUmMuPCQa6noUNIdCOim+XJWDhMoHXWRgIFBQzxmEj7IupqZ/cJd5YJzvm/uZbM 9o7afMeJHstRiVfttmwfs/r+GMmJ5Usf74nr1HPYCsIhJmOvhossoNyyZpw6v1Kxv60n sWT4EKHptiz9ibBL6OMArln4ZFtsCH6UyAob0YiTY2v19xQp0iRzgNN+jTjQCfKnUb0C YjTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768828604; x=1769433404; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xdz4rb1d9PRbGxq2hK7H+gxdLsBDCZap6WRSCpXGcXo=; b=SumsorjppCYa0Y+rOsbqIW4KxNGv9pJw3d5rUKl8mDxUaSVSVW2NrhFWmIUyoPxlw+ f1GvzpqSv5QgYjqZWcTwXWZjnct+j2E8+FiF1a0lqmBNCCOxcRdHiTFtTP4k4dxyMK2F 1f3/crmDpnIoIriyzdfQh/7zhnHxzKy390lk2tzr+fqc2U1a7KJql5cNQGjS3OjFI2nv yBjofBMtkPmexPxQZQmYG6Kd5hf8dFWeqDp0emPwsJk0/JxwmU5sxhHyWBlRt2ELk+W9 JvwVx7nrp6ZNxdPme/YjEYAKk6BQ7S0PjmBrHSFgQe+BHa3/S4KDKZcPBMX1GS0ZtKBc SCBw== X-Gm-Message-State: AOJu0YyWM0JRynSfVfgiKPT5htHJ6K5o9XTECBmZJHunc+ESpHalLB9S AxB4EpI6255Fv48xummELxnNcYA6IXxJ8oG+zOFQbBCDPKiOg7AsGczJtaRbGS1FhOhvs8su7TQ kqduWtGqovaNSAsJHjV6PfU8eT4J3PBwNmJgBTcVIes5TawJa7jM15JSUt8ohjUraKw== X-Gm-Gg: AY/fxX6hiyMhTXQ4AESYWxBNQFo4MM3cTO5TzF5ZQoDnEJ15vZtD2qyRrsr2WmmhvCk tAsPx5xxvKWyJOmUPQze4l1ek1rpgPEXiGgYmdEQyh2tCa5XEZzEz5EcSMtob1AzeaS79XLCfDi aylN7axyBz9uD0RnmD4fo4VldyjrOtb0yk9IjuHerbU+bpkbKd7tm1Xkj6/cF/sbLSuCHAxWX5z RE8zgUISb1mon2l6TF2+3Id9mjyi1oMkeulZRzaeG4rtSOl0wV2xMVbcW9i7PrwJn4q9fXpQB+n PaHM2oG7zQCwYKZtWTw3nxyERwrxBo/PcBJ0VZ6wlR6euOL4M7FzghOnBFxSHgDhPisiuuRAdVR wKRMwjPJh682zsZArWmqAH366qy2NSvXreZ5IlfUu X-Received: by 2002:a05:600c:8a09:20b0:47d:8479:78d5 with SMTP id 5b1f17b1804b1-4801e4a389amr113571735e9.7.1768828604561; Mon, 19 Jan 2026 05:16:44 -0800 (PST) X-Received: by 2002:a05:600c:8a09:20b0:47d:8479:78d5 with SMTP id 5b1f17b1804b1-4801e4a389amr113571385e9.7.1768828604145; Mon, 19 Jan 2026 05:16:44 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.129.40]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47f429071besm245614985e9.10.2026.01.19.05.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jan 2026 05:16:43 -0800 (PST) Date: Mon, 19 Jan 2026 14:16:41 +0100 From: Juri Lelli To: Gabriele Monaco 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 Subject: Re: [PATCH v4 14/15] rv: Add deadline monitors Message-ID: References: <20260116123911.130300-1-gmonaco@redhat.com> <20260116123911.130300-15-gmonaco@redhat.com> <5df16facba05b84857ad09cee12df0c19a551285.camel@redhat.com> 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: <5df16facba05b84857ad09cee12df0c19a551285.camel@redhat.com> On 19/01/26 12:35, Gabriele Monaco wrote: > On Mon, 2026-01-19 at 12:04 +0100, Juri Lelli wrote: > > Why use pi_of() in above cases? > > > > 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 anyway > so it shouldn't be a problem for the model. Yeah, it seems alright (at least for now) to use original parameters. Thanks, Juri