From owner-cvs-src-old@FreeBSD.ORG Tue Apr 26 20:34:40 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F2EA106578D for ; Tue, 26 Apr 2011 20:34:40 +0000 (UTC) (envelope-from rstone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3FD8FC13 for ; Tue, 26 Apr 2011 20:34:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3QKYeuu094289 for ; Tue, 26 Apr 2011 20:34:40 GMT (envelope-from rstone@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3QKYeEZ094288 for cvs-src-old@freebsd.org; Tue, 26 Apr 2011 20:34:40 GMT (envelope-from rstone@repoman.freebsd.org) Message-Id: <201104262034.p3QKYeEZ094288@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rstone@repoman.freebsd.org using -f From: Ryan Stone Date: Tue, 26 Apr 2011 20:34:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_4bsd.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 20:34:40 -0000 rstone 2011-04-26 20:34:30 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: SVN rev 221081 on 2011-04-26 20:34:30Z by rstone If the 4BSD scheduler tries to schedule a thread that has been pinned or bound to an AP before SMP has started, the system will panic when we try to touch per-CPU state for that AP because that state has not been initialized yet. Fix this in the same way as ULE: place all threads in the global run queue before SMP has started. Reviewed by: jhb MFC after: 1 month Revision Changes Path 1.152 +21 -19 src/sys/kern/sched_4bsd.c