> This is a step in the right direction, but now cgd(4) is doing > malloc(..., M_WAITOK) in (software) interrupt context. A LOCKDEBUG > kernel will panic. How can we avoid the stack overflows and such in a > different way?
Allocating buffers in softc? Buffer size is determined when cgd_ioctl_set() is called. cgd_ioctl_set() should be thread-context. Masao -- Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635