Skip to content

Add CLOCK_BOOTTIME functionality

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hrtimers: extend hrtimer base code to handle more then 2 clockidsinclude/linux/hrtimer.h kernel/hrtimer.c+47 -143 replies
2/2hrtimers: Add CLOCK_BOOTTIME clockid, hrtimerbase and posix interfaceinclude/linux/hrtimer.h include/linux/time.h kernel/hrtimer.c +2 more+113 -42 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] Add CLOCK_BOOTTIME functionality

This patchset extends the hrtimers code to handle additional clockids and then introduces CLOCK_BOOTTIME which is identical to CLOCK_MONOTONIC, except it also includes any time spent in suspend (currently as measured by read_persistent_clock()).

CC Jamie Lokier <[email protected]>
CC Thomas Gleixner <[email protected]>
CC Alexander Shishkin <[email protected]>
CC Arve Hjønnevåg <[email protected]>

John Stultz (2):
[RFC] hrtimers: extend hrtimer base code to handle more then 2
clockids
[RFC] hrtimers: Add CLOCK_BOOTTIME clockid, hrtimerbase and posix
interface

 include/linux/hrtimer.h   |    8 ++++-
 include/linux/time.h      |    4 ++
 kernel/hrtimer.c          |   71 ++++++++++++++++++++++++++++++++--------
 kernel/posix-timers.c     |   16 ++++++++-
 kernel/time/timekeeping.c |   79 ++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 160 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.3.2.146.gca209