Re: [PATCH] Turn rdmsr, rdtsc into inline functions, clarify names

From: Dmitry Torokhov
Date: Sun Aug 06 2006 - 22:41:36 EST

On Saturday 05 August 2006 23:16, Andi Kleen wrote:
> This whole thing is broken, e.g. on a preemptive kernel when the
> code can switch CPUs

Would not preempt_disable fix that?

> Dmitry, I would suggest to convert it over to do_gettimeofday and remove
> all the architecture ifdefs.
> Or maybe just remove it completely.  Who cares about the speed of a gameport
> anyways? And why can't they measure it in user space?

Analog driver uses it to adjust timing. Vojtech should have more background
on that..

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at