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

Joerg Sonnenberger joerg at
Tue Sep 14 11:03:57 PDT 2004

On Tue, Sep 14, 2004 at 10:28:46AM -0700, Matthew Dillon wrote:
>     I like the OpenBSD method better (as you describe it), but it would
>     be a considerable amount of work to change our APIs. 
>     If you want to change over to the OpenBSD API I would first say that
>     we should get rid of the 'old' API (timeout() / untimeout()).  Once
>     we get rid of the 'old' API we can shift the 'new' API over to a
>     'newer then new' OpenBSD API :-)

Well, if you want to change the API for MP-safeness anyway, it has the
additional advantage of being a red flag ("warning, might deal with MP")
for all developers. It would also allow us to keep the current code and
we don't have to change it twice.

Let me write a patch for it :)


> 					-Matt
> 					Matthew Dillon 
> 					<dillon at xxxxxxxxxxxxx>

More information about the Kernel mailing list