]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC r227657:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Nov 2011 15:16:05 +0000 (15:16 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Nov 2011 15:16:05 +0000 (15:16 +0000)
commit404d07bb81de01bb0dbd9d21d6e6a2a9b3f89291
tree3efad39ec29e1f9eb44ed093d7298170b8a6d17e
parent86ce1a267778f7a1a910be4bd539f53d7e488b16
MFC r227657:
Consistently use process spin lock for protection of the
p->p_boundary_count. Race could cause the execve(2) from the threaded
process to hung since thread boundary counter was incorrect and
single-threading never finished.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227886 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_thread.c
sys/sys/proc.h