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

https://lore.kernel.org/r/20210407135301.GA16985@fuller.cnet

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
top.

The series is also available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git hrtimer

Thanks,

tglx
---
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.118 / U:4.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site