From: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx> Date: Sun, 13 Jan 2008 14:51:20 +0000 > It almost works. Reaching the l10 limit does not indicate a > second overflow, but rather 10 milliseconds. I actually checked in a fixed version which properly divided by "HZ". Thanks. > I can still make it fail on SMP, gettimeofday is always off by 10 milliseconds. > do_gettimeofday() uses read_seqbegin_irqsave(). This blocks the l10 interrupt > from being taken on the local CPU, but I think it will just get taken on > the other CPU. In essence xtime and l10_counter are not guaranteed to be > consistent on all CPUs. This means the update code isn't taking the seqlock as a writer as it needs to. Try adding that. - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html