svn commit: r235301 - head/sys/kern

Xin LI delphij at FreeBSD.org
Fri May 11 23:43:33 UTC 2012


Author: delphij
Date: Fri May 11 23:43:32 2012
New Revision: 235301
URL: http://svn.freebsd.org/changeset/base/235301

Log:
  Revert previous revision, misunderstood the code :(

Modified:
  head/sys/kern/kern_kthread.c

Modified: head/sys/kern/kern_kthread.c
==============================================================================
--- head/sys/kern/kern_kthread.c	Fri May 11 23:41:52 2012	(r235300)
+++ head/sys/kern/kern_kthread.c	Fri May 11 23:43:32 2012	(r235301)
@@ -182,7 +182,6 @@ kproc_suspend(struct proc *p, int timo)
 		return (EINVAL);
 	}
 	SIGADDSET(p->p_siglist, SIGSTOP);
-	PROC_UNLOCK(p);
 	wakeup(p);
 	return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo);
 }


More information about the svn-src-head mailing list