"sebastien person wrote:"
> Is it bad to do the following call ?
>
> mod_timer(&timer, jiffies+(0.1*HZ));
Yes, it is bad. Don't use floating point in the kernel if you don't need.
> that might fire the timer 1/10 second later.
HZ/10 is much better ...
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:52 EST