]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stop() no longer needs sched_lock held; in fact, holding sched_lock causes
authorColin Percival <cperciva@FreeBSD.org>
Mon, 12 Apr 2004 15:56:05 +0000 (15:56 +0000)
committerColin Percival <cperciva@FreeBSD.org>
Mon, 12 Apr 2004 15:56:05 +0000 (15:56 +0000)
commit4a3b3dcb550020791c20f62c58f84852c1a75a16
tree87ba3da4a0a83408b465fe9b19e70c63b11d5016
parente16552014de4ae1c82b9aaef913bc98878fd920d
stop() no longer needs sched_lock held; in fact, holding sched_lock causes
a LOR against sleepq.  Fix the comment, and fix ptracestop() to pick up
sched_lock after stop() rather than before.

Reported by: Scott Sipe <cscotts@mindspring.com>
Reviewed by: rwatson, jhb
sys/kern/kern_sig.c