Re: [PATCH 2/2] sched_ext: scx_qmap: Reset a child's cpuperf targets once its PERF revoke takes effect

From: Tejun Heo

Date: Fri Oct 09 2026 - 16:04:50 EST


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