Skip to content

RFC xtime/wall_to_monotonic cleanups

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6powerpc: Simplify update_vsyscallarch/powerpc/kernel/time.c+25 -300 replies
2/6powerpc: Cleanup xtime usagearch/powerpc/kernel/time.c+4 -40 replies
3/6Fix update_vsyscall to provide wall_to_monotonic offsetarch/ia64/kernel/time.c arch/powerpc/kernel/time.c arch/s390/kernel/time.c +3 more+25 -190 replies
4/6Convert um to use read_persistent_clockarch/um/kernel/time.c+7 -60 replies
5/6Cleanup hrtimer.c's direct access to wall_to_monotonicinclude/linux/time.h kernel/hrtimer.c kernel/time/timekeeping.c+11 -62 replies
6/6Make xtime and wall_to_monotonic staticDocumentation/feature-removal-schedule.txt include/linux/time.h kernel/time/timekeeping.c+2 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/6] xtime/wall_to_monotonic cleanups

This patchset cleans up all the direct accesses to xtime and wall_to_monotonic, allowing them to be made static so we can do further cleanup and rework of the timekeeping core.

This is 2.6.36 (or later) material. But I wanted to get the ball rolling.

Any feedback/testing would be greatly appreciated!

thanks
-john

John Stultz (6):
powerpc: Simplify update_vsyscall
powerpc: Cleanup xtime usage
Fix update_vsyscall to provide wall_to_monotonic offset Convert um to use read_persistent_clock Cleanup hrtimer.c's direct access to wall_to_monotonic Make xtime and wall_to_monotonic static

CC Martin Schwidefsky <[email protected]>
CC Anton Blanchard <[email protected]>
CC Paul Mackerras <[email protected]>
CC Tony Luck <[email protected]>
CC Thomas Gleixner <[email protected]>
CC Jeff Dike <[email protected]>
 Documentation/feature-removal-schedule.txt |   10 -----
 arch/ia64/kernel/time.c                    |    7 ++-
 arch/powerpc/kernel/time.c                 |   61 +++++++++++++---------------
 arch/s390/kernel/time.c                    |    8 ++--
 arch/um/kernel/time.c                      |   13 +++---
 arch/x86/kernel/vsyscall_64.c              |    6 +-
 include/linux/clocksource.h                |    6 ++-
 include/linux/time.h                       |    5 +-
 kernel/hrtimer.c                           |    9 ++--
 kernel/time/timekeeping.c                  |   18 ++++++--
 10 files changed, 69 insertions(+), 74 deletions(-)