diff options
| author | Tejun Heo <tj@kernel.org> | 2026-09-05 12:53:44 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-09-06 12:39:15 -1000 |
| commit | 89ff16f0713917303210c560eec5cd0c13bd651f (patch) | |
| tree | 462a09aacf097d61043ded2866877522411dc0bc /scripts/Makefile.thinlto | |
| parent | 63b4ff622244483e7c530e97d787a3d6c2c38a33 (diff) | |
| download | linux-next-89ff16f0713917303210c560eec5cd0c13bd651f.tar.gz linux-next-89ff16f0713917303210c560eec5cd0c13bd651f.zip | |
sched_ext: scx_qmap: Fix pending partition work handoff
qmap can leave partition work pending with no runner. The effective-cap
callback publishes its request after failing to acquire part_busy, while
redistribute() checks for pending work before releasing it. Either ordering
can miss a request arriving as the current runner finishes, delaying the
update until the round-robin timer runs.
Publish requests before trying to become the runner and release part_busy
before checking for more work. Have all holders drain pending requests after
releasing it, including the stats flush. Distinguish mask refreshes from
repartitions so an effective-cap update only rebuilds the partition when a
repartition was also requested.
Fixes: e9151ed5c944 ("tools/sched_ext: scx_qmap - Expand hierarchical sub-scheduling")
Reported-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
