[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061223102707.GA20251@elte.hu>
Date: Sat, 23 Dec 2006 11:27:07 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Stephane Eranian <eranian@....hp.com>
Cc: linux-kernel@...r.kernel.org, venkatesh.pallipadi@...el.com,
suresh.b.siddha@...el.com, kenneth.w.chen@...el.com,
tony.luck@...el.com, Andrew Morton <akpm@...l.org>
Subject: Re: [patch] sched: improve sched_clock() on i686
* Ingo Molnar <mingo@...e.hu> wrote:
> it's purely historic - the i686 sched_clock() implementation predates
> the scheduler's ability to deal with non-synchronous per-CPU clocks. I
> tried to fix that (a year ago) and it didnt work out - but i've
> reviewed my old patch and now realize what the mistake was - the patch
> below should work better.
that patch needs the small fix below as well.
Ingo
Index: linux/include/asm-i386/bugs.h
===================================================================
--- linux.orig/include/asm-i386/bugs.h
+++ linux/include/asm-i386/bugs.h
@@ -160,7 +160,7 @@ static void __init check_config(void)
* If we configured ourselves for a TSC, we'd better have one!
*/
#ifdef CONFIG_X86_TSC
- if (!cpu_has_tsc)
+ if (!cpu_has_tsc && !tsc_disable)
panic("Kernel compiled for Pentium+, requires TSC feature!");
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists