svn commit: r212964 - head/sys/kern
attilio at freebsd.org
Tue Sep 21 16:17:38 UTC 2010
2010/9/21 Andriy Gapon <avg at freebsd.org>:
> on 21/09/2010 18:17 mdf at 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.
> How does the following look to you?
> I hope I haven't freed too much from under DDB.
> The patch compiles fine with STACK && !DDB.
In general, if you really want to go with that route, I'd rename the
functions with _unlocked() prefix (there is actually no need to tell
they are _ddb specific) and maybe add _ddb() wrappers, you can have
Peace can only be achieved by understanding - A. Einstein
More information about the svn-src-head