summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-10-09 10:48:28 -1000
committerTejun Heo <tj@kernel.org>2026-10-09 11:41:01 -1000
commit0ded98e4c014d8bc9ced2dc7a4d1fb290a594d48 (patch)
treeec018e33296e473f26d70304599f783bb08ef13e /include/linux
parentda3bad759ef2df9db38ad851a061d719091d74dd (diff)
downloadlinux-0ded98e4c014d8bc9ced2dc7a4d1fb290a594d48.tar.gz
linux-0ded98e4c014d8bc9ced2dc7a4d1fb290a594d48.zip
sched_ext: scx_qmap: Reset a child's cpuperf targets once its PERF revoke takes effect
A child that ran a cid at a low cpuperf target leaves the target there when PERF is revoked, since the kernel resets targets only at root enable. Reset the target from ops.sub_child_ecaps_updated() once the revoke is in effect. A detach reports nothing, so ops.sub_detach() resets the child's cids, and the pool unless another child holds it. Count the deliveries in the hier stats. v2: Reset from ops.sub_detach() for a detaching child's cids. v3: Skip the pool at detach while another child holds it (Andrea Righi). Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions