Messages in this thread | | | Date | Thu, 9 Mar 2000 05:05:56 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: [PATCH] Use of TSC with SMP and different CPU's |
| |
On Wed, 8 Mar 2000, Boris Okun wrote:
>This patch allows to use do_fast_gettimeofday() (and >do_slow_gettimeofday as well) on SMP machines with processors running >at different speeds.[..]
The timer irq could keep running on the same CPU with irq disabled for more than the rtdsc lower 32bits wrap around. Thus the per-cpu rdtsc info has to be 64bit wide in your case (in the current 2.2.x code it doesn't need that because it's _not_ a per-cpu info because we rely on the TSCs to be in sync).
Andrea
- 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/
| |