Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578686

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

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH] timers: Don't wake ktimersoftd on every tick
Date Fri, 10 Feb 2017 19:30:02 +0100
Message-ID <t9o7g-73R-21@gated-at.bofh.it> (permalink)
References <t6Pnk-4ec-9@gated-at.bofh.it> <t6QMq-5eA-23@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
X-Original-Cc linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, julia.cartwright@ni.com, gratian.crisan@ni.com
X-Original-Date Fri, 10 Feb 2017 18:02:08 +0100
X-Original-Message-ID <20170210170207.3kzfqyfa4ueh7mih@linutronix.de>
X-Original-References <20170203165151.qbpjothhaqctuzx5@linutronix.de> <20170203182112.18053-1-haris.okanovic@ni.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1578686

Show key headers only | View raw


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 <haris.okanovic@ni.com>

applied.

Sebastian

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC v2] timers: Don't wake ktimersoftd on every tick Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-02-03 18:00 +0100
  [PATCH] timers: Don't wake ktimersoftd on every tick Haris Okanovic <haris.okanovic@ni.com> - 2017-02-03 19:30 +0100
    Re: [PATCH] timers: Don't wake ktimersoftd on every tick Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-02-10 19:30 +0100

csiph-web