PERFORCE change 143781 for review

Marko Zec zec at icir.org
Thu Jun 19 19:53:24 UTC 2008


On Thursday 19 June 2008 20:37:06 Julian Elischer wrote:
> http://perforce.freebsd.org/chv.cgi?CH=143781
>
> Change 143781 by julian at julian_trafmon1 on 2008/06/19 18:36:16
>
> 	in vimage-devel, we want these defined.

For now that's OK I guess, given that vimage-devel should be consider a 
highly experimental branch.

The problem is that cp_time[] is now instantiated on per-cpu basis in 
both HEAD and RELENG_7.  We need to come up with a generic method of 
providing virtualized counterparts of PCPU variables.

Marko


> Affected files ...
>
> .. //depot/projects/vimage-devel/src/sys/sys/vimage.h#7 edit
>
> Differences ...
>
> ==== //depot/projects/vimage-devel/src/sys/sys/vimage.h#7 (text+ko)
> ====
>
> @@ -410,11 +410,11 @@
>
>  	int	_morphing_symlinks;
>
> -#if 0
>  	long	_cp_time[CPUSTATES];
>
>  	struct loadavg _averunnable;	/* from kern/kern_synch.c */
>  	int	_sched_tdcnt;		/* from kern/sched_4bsd.c */
> +#if 0
>  	int	_tdq_sysload[32]; /* XXX MAXCPUS from kern/sched_ule.c (SMP) */
>
>  	u_int	proc_limit;		/* max. number of processes */




More information about the p4-projects mailing list