Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Dec 2003 16:18:10 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        re@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   mp_maxid madness
Message-ID:  <XFMail.20031202161810.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20031202161810.jhb>