Re: [PATCH] timers: Don't wake ktimersoftd on every tick
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2017-02-10 18:28:38
Also in:
lkml
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2017-02-10 18:28:38
Also in:
lkml
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: https://www.spinics.net/lists/linux-rt-users/msg16095.html https://www.spinics.net/lists/linux-rt-users/msg16113.html Signed-off-by: Haris Okanovic <redacted>
applied. Sebastian