summaryrefslogtreecommitdiff
path: root/tools/perf/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2026-01-21 17:33:17 +0100
committerPeter Zijlstra <peterz@infradead.org>2026-01-21 17:46:08 +0100
commit98c88dc8a1ace642d9021b103b28cba7b51e3abc (patch)
tree286b90ed285ceec45a579c39b767898bdb03f15e /tools/perf/lib/git@git.tavy.me:linux.git
parent24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 (diff)
sched/fair: Fix pelt clock sync when entering idle
Samuel and Alex reported regressions of the util_avg of RT rq with commit 17e3e88ed0b6 ("sched/fair: Fix pelt lost idle time detection"). It happens that fair is updating and syncing the pelt clock with task one when pick_next_task_fair() fails to pick a task but before the prev scheduling class got a chance to update its pelt signals. Move update_idle_rq_clock_pelt() in set_next_task_idle() which is called after prev class has been called. Fixes: 17e3e88ed0b6 ("sched/fair: Fix pelt lost idle time detection") Closes: https://lore.kernel.org/all/CAG2KctpO6VKS6GN4QWDji0t92_gNBJ7HjjXrE+6H+RwRXt=iLg@mail.gmail.com/ Closes: https://lore.kernel.org/all/8cf19bf0e0054dcfed70e9935029201694f1bb5a.camel@mediatek.com/ Reported-by: Samuel Wu <wusamuel@google.com> Reported-by: Alex Hoh <Alex.Hoh@mediatek.com> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Samuel Wu <wusamuel@google.com> Tested-by: Alex Hoh <Alex.Hoh@mediatek.com> Link: https://patch.msgid.link/20260121163317.505635-1-vincent.guittot@linaro.org
Diffstat (limited to 'tools/perf/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions