ktr per cpu buffers

Joerg Sonnenberger joerg at britannica.bec.de
Wed Feb 2 11:25:19 PST 2005


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





More information about the Kernel mailing list