From owner-svn-src-all@FreeBSD.ORG Fri May 11 23:43:32 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6633106566B; Fri, 11 May 2012 23:43:32 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D217B8FC16; Fri, 11 May 2012 23:43:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4BNhWXw005831; Fri, 11 May 2012 23:43:32 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4BNhWh7005829; Fri, 11 May 2012 23:43:32 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201205112343.q4BNhWh7005829@svn.freebsd.org> From: Xin LI Date: Fri, 11 May 2012 23:43:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235301 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 23:43:33 -0000 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); }