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

看板DFBSD_kernel作者時間21年前 (2004/09/15 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/8 (看更多)
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 :) Joerg > > -Matt > Matthew Dillon > <dillon@backplane.com>
文章代碼(AID): #11HpbB00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11HpbB00 (DFBSD_kernel)