Skip to content

Dynamic Tick: Enabling longer sleep times on 32-bit

Jon Hunter lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

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 -140 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 -120 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

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 updated based on the feedback received and rebased against the current kernel.

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(-)