Re: [PATCH] 2.3.99pre6 use of mod_timer

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Fri Apr 28 2000 - 15:56:23 EST


François romieu wrote:
> The following makes systematic the use of mod_timer. Currently, mod_timer
> is defined in include/linux/timer.h as a faster replacement for the
> sequence del_timer, timer.expires=..., add_timer.

Looks reasonable... using mod_timer means you only acquire and release
the timer lock once, not twice as with del_timer+add_timer.

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST