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

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