Date: Wed, 3 Dec 2003 06:57:26 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200312031457.hB3EvQEg049048@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312031457.hB3EvQEg049048>