acrn-kernel/kernel/time
john stultz 98de9e3ba2 [PATCH] fix jiffies clocksource inittime
In debugging a problem w/ the -rt tree, I noticed that on systems that mark
the tsc as unstable before it is registered, the TSC would still be
selected and used for a short period of time.  Digging in it looks to be a
result of the mix of the clocksource list changes and my clocksource
initialization changes.

With the -rt tree, using a bad TSC, even for a short period of time can
results in a hang at boot.  I was not able to reproduce this hang w/
mainline, but I'm not completely certain that someone won't trip on it.

This patch resolves the issue by initializing the jiffies clocksource
earlier so a bad TSC won't get selected just because nothing else is yet
registered.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-04 21:12:47 -07:00
..
Kconfig [PATCH] hrtimers: add high resolution timer support 2007-02-16 08:13:59 -08:00
Makefile [PATCH] Add debugging feature /proc/timer_list 2007-02-16 08:13:59 -08:00
clockevents.c [PATCH] clockevents: remove bad designed sysfs support for now 2007-03-26 14:07:23 -07:00
clocksource.c [PATCH] clocksource: Fix thinko in watchdog selection 2007-03-25 14:57:34 -07:00
jiffies.c [PATCH] fix jiffies clocksource inittime 2007-04-04 21:12:47 -07:00
ntp.c [PATCH] ntp: avoid time_offset overflows 2007-03-27 09:05:15 -07:00
tick-broadcast.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-common.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-internal.h [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-oneshot.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-sched.c [TIME] tick-sched: Add missing asm/irq_regs.h include. 2007-02-26 11:13:49 -08:00
timer_list.c [PATCH] time: fix formatting in /proc/timer_list 2007-03-23 11:01:21 -07:00
timer_stats.c [PATCH] Add debugging feature /proc/timer_stat 2007-02-16 08:13:59 -08:00