Introduce CLOCK_BOOTTIME
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hrtimers: extend hrtimer base code to handle more then 2 clockidsinclude/ kernel/ | +32 | 0 replies | |
| 2/5 | time: Introduce get_monotonic_boottime and ktime_get_boottimeinclude/ include/ kernel/ | +52 | 0 replies | |
| 3/5 | time: Extend get_xtime_and_monotonic_offset() to also return sleepinclude/ kernel/ kernel/ | +11 | 2 replies | |
| 4/5 | timers: Add CLOCK_BOOTTIME hrtimer baseinclude/ include/ kernel/ | +14 | 0 replies | |
| 5/5 | timers: Export CLOCK_BOOTTIME via the posix timers interfacekernel/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Introduce CLOCK_BOOTTIME
This patch set (applies against tip/timers/core) extends the hrtimer, timekeeping, and posix-timer code to support a new
clockid: CLOCK_BOOTTIME.
CLOCK_BOOTTIME is identical to CLOCK_MONOTONIC, except it also includes any time spent in suspend (as currently measured by read_persistent_clock()). This allows applications to get a suspend aware monotonic clock.
Thomas, I've included your suggestions from the last round. Does this look like something you could queue for 2.6.39?
thanks
-john
John Stultz (5):
hrtimers: extend hrtimer base code to handle more then 2 clockids
time: Introduce get_monotonic_boottime and ktime_get_boottime
time: Extend get_xtime_and_monotonic_offset() to also return sleep
timers: Add CLOCK_BOOTTIME hrtimer base
timers: Export CLOCK_BOOTTIME via the posix timers interface
include/linux/hrtimer.h | 8 +++++- include/linux/time.h | 5 +++- kernel/hrtimer.c | 63 ++++++++++++++++++++++++++++++-------------- kernel/posix-timers.c | 21 ++++++++++++++- kernel/time/timekeeping.c | 56 ++++++++++++++++++++++++++++++++++++++- 5 files changed, 128 insertions(+), 25 deletions(-)
Signature · 1 line
1.7.3.2.146.gca209