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

看板DFBSD_kernel作者時間21年前 (2004/09/17 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
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
文章代碼(AID): #11IWqV00 (DFBSD_kernel)
文章代碼(AID): #11IWqV00 (DFBSD_kernel)