[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/12/01 09:20:07

Modified files:
	sys/arch/amd64/amd64: syscall.c 

Log message:
Don't be lazy in the locking in SYSCALL_DEBUG code.
KERNEL_PROC_UNLOCK is not safe for recursion (becuase it clears P_BIGLOCK)
so we have to make that lock conditional as well.

Found by tholo@ when reviewing the i386 diff.