On Tue, Nov 10, 2009 at 2:35 PM, Matthias Scheler <t...@netbsd.org> wrote: > On Tue, Nov 10, 2009 at 08:48:42AM +0000, Matthias Scheler wrote: >> > A LOCKDEBUG kernel will panic. How can we avoid the stack >> > overflows and such in a different way? >> >> I'll try to rewrite the code to use M_NOWAIT. > > The attached diff changes the code to use M_NOWAIT. I have however > only compiled tested it so far.
I don't think that this is right approach which can work. Because M_NOWIAT allocation can very easily fail(even if there is free memory in system), which will panic cgd driver. -- Regards. Adam