Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev



> 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


Home | Main Index | Thread Index | Old Index