Re: timer race condition? (was: RE: L68K: Re: IDE-Driver Update ::

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Tue, 25 Aug 1998 23:22:41 +0200 (CEST)


On Tue, 25 Aug 1998, Alan Cox wrote:
> > At first sight run_timer_list() looks fine in sched.S. The question is: is that
> > the problem module?
>
> First guess is no

:-)

> Is ide*.c ever moving the expires assignment past the add_timer or
> forgetting to set it ?

No, it's assigned just before add_timer() only (at 2 places). And it can't be
already active because my test in add_timer() would catch that.
And calling del_timer() twice is harmless.

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

- 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.altern.org/andrebalsa/doc/lkml-faq.html