Re: [PATCH] x86_64: Avoid NMI Watchdog and/or long wait in setup_APIC_timer

From: Andi Kleen
Date: Wed Aug 08 2007 - 20:51:01 EST



>
> I was thinking along the same lines as well, but I really didn't know how
> important all that code was for waiting for the next irq slice. I'm not time
> expert, but I would imagine we would resynchronize correctly in the future after
> this code path?

The idea is to just have the apic timers roughly at the same times + some fixed
offset as the main timer. Otherwise e.g. add_timer could jitter up to a jiffie
regarding the jiffies counter. But long term drift will destroy the synchronization
anyways.

I guess i'll send it in anyways for .23; it would be too risky to change anything
radical in this area that late. Then later it can be revisited.

-Andi


-
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/