DragonFly BSD
DragonFly kernel List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: callout patch #2 - make callouts per-cpu and MP safe.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Sep 2004 14:51:25 -0700 (PDT)

:Can you also add a flag and an INVARIANT check to ensure that timers
:are indeed correctly initialized? Most code does a bzero or uses default
:zeroing, so we should be able to catch those easily.
:
:Joerg

    Yes, that's a good idea.  I'll add a mandatory flag which callout_init()
    always sets.  but for now we will just printf() if a timer is found to
    not have been properly initialized.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]