Skip to content

Commit aaab6bb

Browse files
auldpPeter Zijlstra
authored andcommitted
sched: Increase sched_tick_remote timeout
Increase the sched_tick_remote WARN_ON timeout to remove false positives due to temporarily busy HK cpus. The suggestion was 30 seconds to catch really stuck remote tick processing but not trigger it too easily. Suggested-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Phil Auld <pauld@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Frederic Weisbecker <frederic@kernel.org> Link: https://patch.msgid.link/20250911161300.437944-1-pauld@redhat.com
1 parent 522fb20 commit aaab6bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5619,7 +5619,7 @@ static void sched_tick_remote(struct work_struct *work)
56195619
* reasonable amount of time.
56205620
*/
56215621
u64 delta = rq_clock_task(rq) - curr->se.exec_start;
5622-
WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3);
5622+
WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 30);
56235623
}
56245624
curr->sched_class->task_tick(rq, curr, 0);
56255625

0 commit comments

Comments
 (0)