From owner-cvs-all@FreeBSD.ORG Wed Dec 3 06:57:28 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 8D2A716A4CE; Wed, 3 Dec 2003 06:57:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F1AB43FAF; Wed, 3 Dec 2003 06:57:26 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB3EvQXJ049049; Wed, 3 Dec 2003 06:57:26 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB3EvQEg049048; Wed, 3 Dec 2003 06:57:26 -0800 (PST) (envelope-from jhb) Message-Id: <200312031457.hB3EvQEg049048@repoman.freebsd.org> From: John Baldwin Date: Wed, 3 Dec 2003 06:57:26 -0800 (PST) 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 mp_machdep.c src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/kern sched_ule.c src/sys/sparc64/sparc64 mp_machdep.c src/sys/sys smp.h src/sys/vm uma_core.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: Wed, 03 Dec 2003 14:57:28 -0000 jhb 2003/12/03 06:57:26 PST FreeBSD src repository Modified files: sys/alpha/alpha mp_machdep.c sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c sys/kern sched_ule.c sys/sparc64/sparc64 mp_machdep.c sys/sys smp.h sys/vm uma_core.c Log: Fix all users of mp_maxid to use the same semantics, namely: 1) mp_maxid is a valid FreeBSD CPU ID in the range 0 .. MAXCPU - 1. 2) For all active CPUs in the system, PCPU_GET(cpuid) <= mp_maxid. Approved by: re (scottl) Tested on: i386, amd64, alpha Revision Changes Path 1.51 +0 -1 src/sys/alpha/alpha/mp_machdep.c 1.230 +2 -2 src/sys/amd64/amd64/mp_machdep.c 1.227 +1 -1 src/sys/i386/i386/mp_machdep.c 1.84 +1 -1 src/sys/kern/sched_ule.c 1.25 +2 -2 src/sys/sparc64/sparc64/mp_machdep.c 1.76 +1 -1 src/sys/sys/smp.h 1.89 +8 -16 src/sys/vm/uma_core.c