Re: ktr per cpu buffers

看板DFBSD_kernel作者時間21年前 (2005/02/03 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
On Tue, Feb 01, 2005 at 07:46:02PM +0100, Eirik Nygaard wrote: > I will commit this sometime in the end of this week. > > http://leaf.dragonflybsd.org/~eirikn/ktr_percpu.patch ktr_sysinit can use M_WAITOK and ktr_initiated can be a normal integer. Using the global tstate might be a better idea to keep the stack usage of ddb functions small. Does the argument parsing give a sensible result for multiple 'c' modifiers? It might be correct to check for overflows too :) Minor style nit: if { } else if { } The db_ktr_all main loop looks too complicated, what exactly do you want to achieve? Joerg > > -- > Eirik Nygaard
文章代碼(AID): #120Igw00 (DFBSD_kernel)
文章代碼(AID): #120Igw00 (DFBSD_kernel)