diff options
| author | Tejun Heo <tj@kernel.org> | 2026-08-07 11:02:20 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-11 15:34:45 -1000 |
| commit | f2da9587118d5da41a3f81a59642d5bb4782ddcc (patch) | |
| tree | 9968fc8ab31251e7aa9a009caffc454b9a77665e /tools/perf/scripts/python/bin | |
| parent | 3dd52416e44a70bc993adb96d2e0d71b9ea21359 (diff) | |
sched_ext: Count rq lock releases in rq->scx.lock_drop_seq
Under core scheduling, pick_next_task() selects for all SMT siblings under
one continuous hold of the shared core-wide rq lock, and sched_ext's
dispatch can release that lock from inside the pick. In preparation for
making the core-sched pick detect the releases and retry, add
rq->scx.lock_drop_seq and bump it at every site that can release an rq lock
while a dispatch may be in flight. The counter is only maintained while core
scheduling is enabled. No functional changes.
Fixes: 4c95380701f5 ("sched/ext: Fold balance_scx() into pick_task_scx()")
Cc: stable@vger.kernel.org # v6.19+
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
