Re: [patch] x86_64: fix sched_clock()

From: Ingo Molnar
Date: Fri May 25 2007 - 04:55:43 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > must be an -mm fix. I used -mm as a basis of my work. Please apply
> > my patch.
>
> I would prefer to find out why the mm patch was added and then
> hopefully remove it. IMNSHO it should not be needed.

it comes in via:

fix-x86_64-mm-sched-clock-share.patch

From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

If you set tsc_disable (eg "notsc" on cmdline), sched-clock.c gives a
divide by zero on boot.

so IMNSHO it is very much needed ;-)

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/