From owner-cvs-all@FreeBSD.ORG Fri Jun 20 02:12:13 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD65E37B401; Fri, 20 Jun 2003 02:12:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A22143F85; Fri, 20 Jun 2003 02:12:13 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5K9CD0U043367; Fri, 20 Jun 2003 02:12:13 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5K9CDrv043363; Fri, 20 Jun 2003 02:12:13 -0700 (PDT) Message-Id: <200306200912.h5K9CDrv043363@repoman.freebsd.org> From: David Xu Date: Fri, 20 Jun 2003 02:12:13 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_thread.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 09:12:14 -0000 davidxu 2003/06/20 02:12:13 PDT FreeBSD src repository Modified files: sys/kern kern_thread.c Log: cpu_set_upcall_kse needs to access userspace, release schedule lock before calling it for bound thread. To avoid this problem, change thread_schedule_upcall to not put new thread on run queue, let caller do it, so we can tweak the new thread before setting it to run. Reported by: pho Revision Changes Path 1.145 +10 -4 src/sys/kern/kern_thread.c