Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 18:40:48 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        mdf@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r212964 - head/sys/kern
Message-ID:  <4C98D200.4040909@freebsd.org>
In-Reply-To: <4C98CEE7.6060802@freebsd.org>
References:  <201009211507.o8LF7iVv097676@svn.freebsd.org> <AANLkTi=CTr%2BZDs3znsF-SXDp__xxbetjnhSBxiDhfFYy@mail.gmail.com> <4C98CEE7.6060802@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 21/09/2010 18:27 Andriy Gapon said the following:
> on 21/09/2010 18:17 mdf@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?

Thank you!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C98D200.4040909>