[lkml]   [2021]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[patch 0/8] hrtimers: Overhaul the clock_was_set() logic
A recent patch from Marcelo to avoid IPIs when the clock was set

made me look deeper into this.

That mechanism has caught some dust and bitrot over time and just making
clock_was_set() a little bit smarter does not make the code any better.

The following series addresses this by:

- Fixing the cases where the clock_was_set() handling is incorrect
depending on configuration or runtime conditions.

- Distangle the resume notification and the clock-was-set mechanism
to prepare for IPI avoidance

- Adopt Marcelo's patch to the modified code and add some more smarts on

The series is also available from git:

git:// hrtimer


fs/timerfd.c | 16 +++
include/linux/hrtimer.h | 8 -
kernel/time/hrtimer.c | 217 ++++++++++++++++++++++++++++++++------------
kernel/time/tick-common.c | 7 +
kernel/time/tick-internal.h | 12 ++
kernel/time/timekeeping.c | 36 ++++---
6 files changed, 219 insertions(+), 77 deletions(-)
 \ /
  Last update: 2021-04-27 10:39    [W:0.146 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site