mp_maxid madness

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 02 Dec 2003 16:18:10 -0500 (EST)
The patch at http://www.FreeBSD.org/~jhb/patches/mp_maxid.patch
should 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 to MAXCPU - 1.
2) For every CPU in the system, PCPU_GET(cpuid) <= mp_maxid

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Tue Dec 02 2003 - 12:18:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC