Re: Performance overhead of get_cycles_sync

From: Ingo Molnar
Date: Tue Dec 11 2007 - 12:04:19 EST



* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> > * Dor Laor <dor.laor@xxxxxxxxx> wrote:
> >
> > The patch below should resolve this - could you please test and Ack
> > it? But this CPUID was present in v2.6.23 too, so why did it only
> > show up in 2.6.24-rc for you?
>
> isn't this probably wrong since this code is also used in the vsyscall
> code..

the TSC clocksource (and hence the vsyscall code) is turned off on
systems that fail the TOD/CLOCK portion of this test:

http://people.redhat.com/mingo/time-warp-test/time-warp-test.c

i.e. on the majority of systems in place.

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/