Source-Changes-D archive

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

Re: CVS commit: src/sys/dev



On Fri, Sep 11, 2009 at 09:28:34AM +0000, Matthias Scheler wrote:
> Module Name:  src
> Committed By: tron
> Date:         Fri Sep 11 09:28:34 UTC 2009
> 
> Modified Files:
>       src/sys/dev: cgd.c
> 
> Log Message:
> Don't allocate block buffers on the stack. This can cause stack overflows
> in the kernel and breaks SSP builds.

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?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index