From owner-cvs-src@FreeBSD.ORG Sun Jul 27 16:45:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1751737B401; Sun, 27 Jul 2003 16:45:49 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A231D43F3F; Sun, 27 Jul 2003 16:45:48 -0700 (PDT) (envelope-from marcel@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 h6RNjm0U036728; Sun, 27 Jul 2003 16:45:48 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6RNjmiU036727; Sun, 27 Jul 2003 16:45:48 -0700 (PDT) Message-Id: <200307272345.h6RNjmiU036727@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 27 Jul 2003 16:45:48 -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/alpha/alpha machdep.c mp_machdep.c vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 27 Jul 2003 23:45:49 -0000 marcel 2003/07/27 16:45:48 PDT FreeBSD src repository Modified files: sys/alpha/alpha machdep.c mp_machdep.c vm_machdep.c Log: Reset the per-CPU unique value at boot and clear it in the PCB of the child when forking. This provides a consistent initial state. Note that cpu_set_upcall() does not clear the per-CPU unique value as it is followed by a call to set_mcontext(), which sets it accordingly. Revision Changes Path 1.208 +5 -3 src/sys/alpha/alpha/machdep.c 1.45 +3 -0 src/sys/alpha/alpha/mp_machdep.c 1.89 +1 -0 src/sys/alpha/alpha/vm_machdep.c