[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160114163744.582215466@linutronix.de>
Date: Thu, 14 Jan 2016 16:54:45 -0000
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Helge Deller <deller@....de>,
John Stultz <john.stultz@...aro.org>,
linux-m68k@...ts.linux-m68k.org, dhowells@...hat.com
Subject: [patch 0/4] hrtimers: Handle remaining time correctly for
CONFIG_TIME_LOW_RES=y
Helge reported, that timerfd returns occasionally remaining time larger than
the relative time which was used to arm the timer. This is caused by the extra
jiffy which we add in hrtimer_start_range_ns() if CONFIG_TIME_LOW_RES=y.
This is not only an issue for timerfd. We have the same problem in
posix-timers and itimers.
This series adds infrastructure to the core to handle that cases and converts
the users over to it.
Thanks,
tglx
---
fs/timerfd.c | 2 -
include/linux/hrtimer.h | 34 +++++++++++++++++++++++++--
kernel/time/hrtimer.c | 55 ++++++++++++++++++++++++++++++---------------
kernel/time/itimer.c | 2 -
kernel/time/posix-timers.c | 2 -
kernel/time/timer_list.c | 2 -
6 files changed, 72 insertions(+), 25 deletions(-)
Powered by blists - more mailing lists