Re: [PATCH] timers: Don't wake ktimersoftd on every tick

From: Sebastian Andrzej Siewior
Date: Fri Feb 10 2017 - 13:28:41 EST

On 2017-02-03 12:21:12 [-0600], Haris Okanovic wrote:
> Collect expired timers in interrupt context to avoid overhead of waking
> ktimersoftd on every tick. ktimersoftd now wakes only when one or more
> timers are ready, which yields a minor reduction in small latency spikes.
> This is implemented by storing lists of expired timers in timer_base,
> updated on each tick. Any addition to the lists wakes ktimersoftd
> (softirq) to process those timers.
> Please refer to the following RFC threads for more details:
> Signed-off-by: Haris Okanovic <haris.okanovic@xxxxxx>