From owner-cvs-src@FreeBSD.ORG Fri Aug 22 16:16:58 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4991065677; Fri, 22 Aug 2008 16:16:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7088FC30; Fri, 22 Aug 2008 16:16:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7MGGwpQ082285; Fri, 22 Aug 2008 16:16:58 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7MGGwEf082284; Fri, 22 Aug 2008 16:16:58 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200808221616.m7MGGwEf082284@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 22 Aug 2008 16:15:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 16:16:58 -0000 jhb 2008-08-22 16:15:58 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c sys/sys proc.h Log: SVN rev 182011 on 2008-08-22 16:15:58Z by jhb A suspended thread can, in fact, be swapped out. Thus, thread_unsuspend_one() needs to optionally wakeup the swapper. Since we hold the thread lock for that entire function, however, we have to push that requirement up into the caller. Found by: rwatson Revision Changes Path 1.277 +27 -14 src/sys/kern/kern_thread.c 1.519 +1 -1 src/sys/sys/proc.h