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

Joerg Sonnenberger joerg at
Thu Sep 16 14:46:56 PDT 2004

On Tue, Sep 14, 2004 at 02:31:58PM -0700, Matthew Dillon wrote:
>     Here is an updated patch.  No bug fixes, just some API changes as
>     per discussions with Joerg.
> 	fetch
>     Note: this patch goes back to the original callout_init() API so there
>     are fewer files being patched.  If you applied the old patch you must
>     be sure to remove/fresh-checkout *all* the files that were touched by
>     the old patch before applying this one.

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.


> 					-Matt

More information about the Kernel mailing list