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: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 16 Sep 2004 23:44:31 +0200

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 http://leaf.dragonflybsd.org/~dillon/callout02.patch
> 
>     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.

Joerg

> 
> 					-Matt



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