Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2003 12:59:30 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/alpha/alpha mp_machdep.c
Message-ID:  <XFMail.20031201125930.jhb@FreeBSD.org>
In-Reply-To: <200311302208.hAUM8O4q066546@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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.20031201125930.jhb>