Skip to content

Dynamic Tick: Enabling longer sleep times on 32-bit machines

Jon Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Dynamic Tick: Prevent clocksource wrapping during idleinclude/linux/clocksource.h include/linux/time.h kernel/time/clocksource.c +2 more+104 -143 replies
2/2Dynamic Tick: Allow 32-bit machines to sleep for more than 2.15 secondsinclude/linux/clockchips.h kernel/hrtimer.c kernel/time/clockevents.c +2 more+12 -123 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Dynamic Tick: Enabling longer sleep times on 32-bit machines

From: Jon Hunter <[email protected]>

This is a resend of the patch series shown here:
http://www.spinics.net/lists/kernel/msg891029.html

This patch series has been rebase on the linux-2.6-tip timers/core branch per request from Thomas Gleixner.

This patch series ensures that the wrapping of the clocksource will not be missed if the kernel sleeps for longer periods and allows 32-bit machines to sleep for longer than 2.15 seconds.

Jon Hunter (2):
Dynamic Tick: Prevent clocksource wrapping during idle Dynamic Tick: Allow 32-bit machines to sleep for more than 2.15
seconds

 include/linux/clockchips.h  |    6 ++--
 include/linux/clocksource.h |    2 +
 include/linux/time.h        |    1 +
 kernel/hrtimer.c            |    2 +-
 kernel/time/clockevents.c   |   10 ++++----
 kernel/time/clocksource.c   |   47 +++++++++++++++++++++++++++++++++++
 kernel/time/tick-oneshot.c  |    2 +-
 kernel/time/tick-sched.c    |   57 ++++++++++++++++++++++++++++++++----------
 kernel/time/timekeeping.c   |   11 ++++++++
 kernel/time/timer_list.c    |    4 +-
 10 files changed, 116 insertions(+), 26 deletions(-)