Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 09:15:03 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Marcel Moolenaar <marcel@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 117140 for review
Message-ID:  <200704020915.03985.jhb@freebsd.org>
In-Reply-To: <200704012152.l31LqHuB022635@repoman.freebsd.org>
References:  <200704012152.l31LqHuB022635@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 April 2007 05:52:17 pm Marcel Moolenaar wrote:
> http://perforce.freebsd.org/chv.cgi?CH=117140
> 
> Change 117140 by marcel@marcel_xcllnt on 2007/04/01 21:52:12
> 
> 	Create PCPU structures for all CPUs. Reduce dependency
> 	on MAXCPU by allocating PCPU structures on demand.
> 
> Affected files ...
> 
> .. //depot/projects/powerpc/sys/powerpc/include/pcpu.h#6 edit
> .. //depot/projects/powerpc/sys/powerpc/powerpc/machdep.c#8 edit
> .. //depot/projects/powerpc/sys/powerpc/powerpc/mp_machdep.c#9 edit
> .. //depot/projects/powerpc/sys/powerpc/powerpc/ofw_machdep.c#7 edit
> 
> Differences ...
> 
> ==== //depot/projects/powerpc/sys/powerpc/include/pcpu.h#6 (text+ko) ====
> 
> @@ -40,6 +40,7 @@
>  	int		pc_inside_intr;					\
>  	struct pmap	*pc_curpmap;		/* current pmap */	\
>  	struct thread   *pc_fputhread;          /* current fpu user */  \
> +	int		pc_bsp:1;					\

FYI, other places in MI code assume that CPU 0 (pc_cpuid) is the BSP.

-- 
John Baldwin



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