Commit:     98de9e3ba23422b5c45b91c93aec1cb1e17514dc
Parent:     7f42d3b8a72ab585f3166a269276c8cca12088af
Author:     john stultz <[EMAIL PROTECTED]>
AuthorDate: Wed Apr 4 19:08:24 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Apr 4 21:12:47 2007 -0700

    [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
    Signed-off-by: John Stultz <[EMAIL PROTECTED]>
    Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/time/jiffies.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c
index 3be8da8..4c256fd 100644
--- a/kernel/time/jiffies.c
+++ b/kernel/time/jiffies.c
@@ -69,4 +69,4 @@ static int __init init_jiffies_clocksource(void)
        return clocksource_register(&clocksource_jiffies);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to