svn commit: r222060 - in user/avg/xcpu/sys: kern sys

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed May 18 18:42:59 UTC 2011


On Wed, May 18, 2011 at 03:08:30PM +0000, Andriy Gapon wrote:
[...]
> --- user/avg/xcpu/sys/sys/proc.h	Wed May 18 15:07:36 2011	(r222059)
> +++ user/avg/xcpu/sys/sys/proc.h	Wed May 18 15:08:30 2011	(r222060)
> @@ -781,7 +781,7 @@ MALLOC_DECLARE(M_SUBPROC);
>   * Otherwise, the kernel will deadlock since the scheduler isn't
>   * going to run the thread that holds the lock we need.
>   */
> -#define	THREAD_PANICED()	\
> +#define	TD_IS_INPANIC()	\
>  	(panicstr != NULL && (curthread->td_flags & TDF_INPANIC) != 0)

Does TDF_INPANIC make sense without panicstr being set?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-user/attachments/20110518/636ff5bd/attachment.pgp


More information about the svn-src-user mailing list