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 Tue, Nov 10, 2009 at 2:35 PM, Matthias Scheler <tron%netbsd.org@localhost>
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
Home |
Main Index |
Thread Index |
Old Index