lkml.org 
[lkml]   [2020]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] sched: Add a check for cpu unbound deferrable timers
Date
Prasad Sodagudi <psodagud@codeaurora.org> writes:
> @@ -948,6 +949,11 @@ static void __tick_nohz_idle_stop_tick(struct tick_sched *ts)
> ktime_t expires;
> int cpu = smp_processor_id();
>
> +#ifdef CONFIG_SMP
> + if (check_pending_deferrable_timers(cpu))
> + raise_softirq_irqoff(TIMER_SOFTIRQ);
> +#endif

So if that raises the soft interrupt then the warning in

can_stop_idle_tick()

if (unlikely(local_softirq_pending())) {
....
pr_warn()

will trigger. Try again.

Thanks,

tglx

\
 
 \ /
  Last update: 2020-03-16 09:38    [W:0.191 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site