WSL2-Linux-Kernel/kernel/time
Thomas Gleixner 56fd16caba timekeeping: Increment clock_was_set_seq in timekeeping_init()
timekeeping_init() can set the wall time offset, so we need to
increment the clock_was_set_seq counter. That way hrtimers will pick
up the early offset immediately. Otherwise on a machine which does not
set wall time later in the boot process the hrtimer offset is stale at
0 and wall time timers are going to expire with a delay of 45 years.

Fixes: 868a3e915f "hrtimer: Make offset update smarter"
Reported-and-tested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Stefan Liebler <stli@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
2015-10-16 15:50:22 +02:00
..
Kconfig
Makefile
alarmtimer.c
clockevents.c clockevents: Remove unused set_mode() callback 2015-09-14 11:00:55 +02:00
clocksource.c clocksource: Fix abs() usage w/ 64bit values 2015-10-02 22:53:01 +02:00
hrtimer.c hrtimer: Handle failure of tick_init_highres() gracefully 2015-08-22 10:57:50 +02:00
itimer.c
jiffies.c
ntp.c time: Add the common weak version of update_persistent_clock() 2015-08-17 11:25:16 -07:00
ntp_internal.h
posix-clock.c
posix-cpu-timers.c
posix-timers.c
sched_clock.c
test_udelay.c
tick-broadcast-hrtimer.c
tick-broadcast.c
tick-common.c clockevents: Remove unused set_mode() callback 2015-09-14 11:00:55 +02:00
tick-internal.h
tick-oneshot.c
tick-sched.c nohz: Assert existing housekeepers when nohz full enabled 2015-09-02 10:33:22 +02:00
tick-sched.h
time.c Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:04:50 -07:00
timeconst.bc
timeconv.c
timecounter.c
timekeeping.c timekeeping: Increment clock_was_set_seq in timekeeping_init() 2015-10-16 15:50:22 +02:00
timekeeping.h
timekeeping_debug.c
timekeeping_internal.h
timer.c timer: Write timer->flags atomically 2015-08-18 15:31:16 +02:00
timer_list.c clockevents: Remove unused set_mode() callback 2015-09-14 11:00:55 +02:00
timer_stats.c