On Tue, Jan 16, 2007 at 01:28:52PM +0100, Patrick McHardy wrote: > Jarek Poplawski wrote: > > On Tue, Jan 16, 2007 at 11:19:34AM +0100, Patrick McHardy wrote: > > ... > > > >>Right, this changes it from long (tc_core_usec2tick) to unsigned > >>int. It doesn't make any difference though, ... > > > > > > ... if we count out reading_time_2tick, of course. > > And this is a problem why? In the worst case (NET_SCH_CLK_CPU, > max rate 1/0.5us) it allows us to represent a transmission time > of 2^32/1000000/2s (where 2 is tick_in_usec), which is roughly > 2147s. > > If you still have doubts, please use numbers to demonstrate the > problem.
Sorry, I probably forgot to add "the face". The only problem is that when reading a patch you have to guess if this was considered by the author or as in other place to check all next uses of double variable to see they actually always store unsigned. But probably I should correct readability of my posts, too. Jarek P. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html