Re: kernel/timer: avoid spurious ksoftirqd wakeups (v2)

From: Rik van Riel
Date: Mon Apr 06 2015 - 19:20:21 EST


On 04/06/2015 07:15 PM, Marcelo Tosatti wrote:
>
>
> It is only necessary to raise timer softirq
> in case there are active timers.
>
> Limit the ksoftirqd wakeup to that case.
>
> Fixes a latency spike with isolated CPUs and
> nohz full mode.
>
> v2: fix variable initialization
> do not raise timer softirq due to pending irqwork
>
> Reported-and-tested-by: Luiz Capitulino <lcapitulino@xxxxxxxxxx>
> Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/