Skip to content

Time fixes for 3.6

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4time: Ensure we normalize the timekeeper in tk_xtime_addkernel/time/timekeeping.c+1 -01 reply
2/4time: Fix casting issue in timekeeping_forward_nowkernel/time/timekeeping.c+1 -11 reply
3/4time: Avoid potential shift-overflow with large shift valueskernel/time/timekeeping.c+2 -22 replies
4/4time: Avoid making adjustments if we havne't accumulated anythingkernel/time/timekeeping.c+4 -01 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchAndreas Schwab
1/4T-b T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Time fixes for 3.6

Thomas, Ingo,
Here are four small time fixes for 3.6
that apply against tip/timers/urgent.

One patch resolves the suspend issue Andreas saw.

The next two are casting fixes for potential overflows on 32bits, that Andreas found, but haven't been observed in the wild.

Finally the last one fixes an issue I found in my own testing w/ the _COARSE clocksources.

Please take a look at them and let me know if you have any thoughts or objections.

Cc Ingo Molnar <[email protected]>
Cc Prarit Bhargava <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Andreas Schwab <[email protected]>

Andreas Schwab (1):
time: Fix casting issue in timekeeping_forward_now

John Stultz (3):
time: Ensure we normalize the timekeeper in tk_xtime_add
time: Avoid potential shift-overflow with large shift values
time: Avoid making adjustments if we havne't accumulated anything

 kernel/time/timekeeping.c |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.9.5