Skip to content

fix wrapping of get time of day.

Steven Rostedt lkml 1 version Applied

Status from this message: thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Allow for HRTIMER_RESTART in a CB_IRQSAFE callback.kernel/hrtimer.c+4 -20 replies
2/2Include an interval timer for timeofday_periodic_hookkernel/time/timeofday.c+68 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH -rt 00/02] fix wrapping of get time of day.

Thomas,

Can you look at these next two patches to see if they are decent.

The first patch is a simple update to allow for CB_IRQSAFE functions to return HRTIMER_RESTART. The next patch uses this in timeofday to periodically update a time interval so that the last_cycle doesn't wrap. Now if we have HIGH_RES turned off, this needs an update to make the cycle update function a high priority. But since that isn't simple to do yet without hacking a change of priority when setting up, I'm leaving it as is.

-- Steve