cvs commit: src/sys/alpha/alpha mp_machdep.c

John Baldwin jhb at FreeBSD.org
Mon Dec 1 09:59:50 PST 2003


On 30-Nov-2003 Jeff Roberson wrote:
> jeff        2003/11/30 14:08:24 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/alpha/alpha      mp_machdep.c 
>   Log:
>    - Set mp_maxid in a way that is consistent with every other arch.  It is
>      one more than the last valid 'cpuid'.
>   
>   Approved by:    re (rwatson)

Eh?  No it's not.  All that needs to be true is that for every processor,
PCPU_GET(cpuid) <= mp_maxid.

It can be equal to the highest ID and should be so for most cases.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list