Re: [patch] sched: implement cpu_clock(cpu) high-speed timesource, take #2

From: Ingo Molnar
Date: Thu Jul 19 2007 - 12:17:22 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> > how about the patch below instead? (which, unlike the first one,
> > happens to build and boot ;-)
>
> Yes, that should be fine if its just based on sched_clock. Presumably
> that means that any architecture (eg, s390) which chooses to implement
> sched_clock as unstolen time will get good behaviour from softlockup
> as well as the scheduler.

yeah, that's the idea.

> How does this interact with the sched_clock changes Andi just posted?

those changes pose no problem, and they are largely orthogonal. Andi's
changes should improve the quality of sched_clock() on some boxes that
encounter a cpu frequency transition that makes the TSC readout
unreliable.

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/