Skip to content

time: Fix races at clocksource switch time

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2time: x86: Fix race switching from vsyscall to non-vsyscall clockarch/x86/vdso/vclock_gettime.c+38 -256 replies
2/2time: Fix change_clocksource lockingkernel/time/timekeeping.c+7 -00 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] time: Fix races at clocksource switch time

In testing some recent timekeeping changes, I found some problem when changing clocksources.

These two patches close races at clocksource switch time. One I sent out earlier, and have reworked to integrate Thomas' comments.

These two patches, along with Thomas' recent cleanup patches ontop can be found here:
git://git.linaro.org/people/jstultz/linux.git fortglx/3.4/time

CC Andy Lutomirski <[email protected]>
CC Thomas Gleixner <[email protected]>

John Stultz (2):
time: x86: Fix race switching from vsyscall to non-vsyscall clock
time: Fix change_clocksource locking

 arch/x86/vdso/vclock_gettime.c |   63 ++++++++++++++++++++++++----------------
 kernel/time/timekeeping.c      |    7 ++++
 2 files changed, 45 insertions(+), 25 deletions(-)
Signature · 1 line
1.7.3.2.146.gca209