mirror of https://github.com/torvalds/linux.git
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
This commit is contained in:
parent
522fb20fbd
commit
aaab6bb54a
|
|
@ -5619,7 +5619,7 @@ static void sched_tick_remote(struct work_struct *work)
|
|||
* reasonable amount of time.
|
||||
*/
|
||||
u64 delta = rq_clock_task(rq) - curr->se.exec_start;
|
||||
WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3);
|
||||
WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 30);
|
||||
}
|
||||
curr->sched_class->task_tick(rq, curr, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue