> 3) is tricky I guess, it's designed for cases that are like "I want a > timer 1 second from now, but it's ok to be also at 1.5 seconds if that > suits you better". Those cases are far less rare than you might think at > first, most watchdog kind things are of this type. This accuracy thing > will allow the kernel to save many wakeups by grouping them I suspect. > > Alan: you worked on this before, where did you end up with ?
For #1/#2 add_timer_relative is an easy wrapper around add_timer for the moment and I did play with that a bit. Never looked at the accuracy stuff. In theory its a case of picking existing timeout points for low resolution timers or tacking them onto an existing timeout that is near enough. On the pratical side there area few problems with timer performanc eon insert to consider - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/