On Mon, 2012-03-19 at 10:29 +0100, Helmut Schaa wrote: > > I'm not really convinced, for making them deferrable we should analyse > > the consequences of that more carefully, for example it seems possible > > that the system wakes up to send a packet, and then the first thing that > > happens is a few aggregation handshakes ... that wastes a lot of time > > and power. > > I like the idea of getting rid of the mod_timer overhead. Looking at the timer > code, if the timer value is unchanged mod_timer is not that expensive. > > So, instead of calling mod_timer for every successive frame with a slightly > different timeout we could just use round_jiffies to round the timeout to the > next full second. This would in most cases take the quick path through > mod_timer and only update the timer once every second. That seems like a good plan. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html