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

Matthew Dillon dillon at apollo.backplane.com
Thu Sep 16 14:51:53 PDT 2004


: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 at xxxxxxxxxxxxx>





More information about the Kernel mailing list