Re: [PATCH] Use of TSC with SMP and different CPU's

From: Artur Skawina (skawina@geocities.com)
Date: Thu Mar 09 2000 - 13:26:00 EST


Boris Okun wrote:
>
> But how do I do that, i.e. how to to read tsc of another processor? I

You would have to send an interprocessor interrupt; see the IPI
code in arch/i386/kernel/smp.c.

> asked this question many times, but the only answer I got is that I
> don't wanna do it, and I really do.

well, simply scaling down the counter values on the faster cpu to
match the slower one seems like an obvious solution...

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:16 EST