2010/9/21 Andriy Gapon <a...@freebsd.org>:
> on 21/09/2010 18:27 Andriy Gapon said the following:
>> on 21/09/2010 18:17 m...@freebsd.org said the following:
>>>
>>> I'd recommend using stack_print_ddb(), as that avoids any locking
>>> which may hang depending on how the kernel panic'd.
>>
>> It seems that stack_print_ddb() depends on DDB?
>
> But the point about locking is very good.
> How do you suggest we can deal with it?
>
> A dirty hack would be to check panicstr in linker_search_symbol_name and avoid
> locking, but I don't like that at all.
> Perhaps, some code in subr_stack.c could be taken outside DDB ifdef?

It heavilly depends on DDB, I'd say to just leave as the code is now.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to