Sched_ext development
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Andrea Righi <arighi@nvidia.com>
Cc: sched-ext@lists.linux.dev, David Vernet <void@manifault.com>,
	Changwoo Min <changwoo@igalia.com>,
	Emil Tsalapatis <emil@etsalapatis.com>,
	David Dai <david.dai@linux.dev>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] sched_ext: scx_qmap: Reset a child's cpuperf targets once its PERF revoke takes effect
Date: Fri, 09 Oct 2026 10:04:16 -1000	[thread overview]
Message-ID: <871113fbf23f16c8b291bbb06e9d6f36@kernel.org> (raw)
In-Reply-To: <asjNo3JmkmeTK8dr@gpd4>

Hello, Andrea.

On Fri, Oct 09, 2026 at 01:18:59PM +0200, Andrea Righi wrote:
> qa.rr_cids covers the entire shared pool, regardless of its current holder,
> right? If child A detaches during child B's turn, this resets the pool's cpuperf
> target even if B still holds PERF and has written its own target.
>
> Should we avoid resetting the current holder's target here?

Right. It's transient, the detach's repartition revokes the pool from B and
the handler resets it again when that lands, but B's targets get clobbered
in between. Will skip the pool when another child holds it in the next
version.

Thanks.

--
tejun

  reply	other threads:[~2026-10-09 20:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08  9:32 [PATCHSET v2 sched_ext/for-7.4] sched_ext: Add ops.sub_child_ecaps_updated() Tejun Heo
2026-10-08  9:32 ` [PATCH 1/2] sched_ext: Add ops.sub_child_ecaps_updated() to report a child's effective cap changes Tejun Heo
2026-10-09 11:17   ` Andrea Righi
2026-10-09 20:04     ` Tejun Heo
2026-10-09 20:14       ` Andrea Righi
2026-10-08  9:32 ` [PATCH 2/2] sched_ext: scx_qmap: Reset a child's cpuperf targets once its PERF revoke takes effect Tejun Heo
2026-10-09 11:18   ` Andrea Righi
2026-10-09 20:04     ` Tejun Heo [this message]
2026-10-09 20:48   ` [PATCH v3 " Tejun Heo
2026-10-09 21:38     ` Andrea Righi
2026-10-09 21:44 ` [PATCHSET v2 sched_ext/for-7.4] sched_ext: Add ops.sub_child_ecaps_updated() Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2026-10-08  0:03 [PATCHSET " Tejun Heo
2026-10-08  0:03 ` [PATCH 2/2] sched_ext: scx_qmap: Reset a child's cpuperf targets once its PERF revoke takes effect Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871113fbf23f16c8b291bbb06e9d6f36@kernel.org \
    --to=tj@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=changwoo@igalia.com \
    --cc=david.dai@linux.dev \
    --cc=emil@etsalapatis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=void@manifault.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox