Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 21:24:36 +0200
From:      Marko Zec <zec@icir.org>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 143781 for review
Message-ID:  <200806192124.36702.zec@icir.org>
In-Reply-To: <200806191837.m5JIb6i2047437@repoman.freebsd.org>
References:  <200806191837.m5JIb6i2047437@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 19 June 2008 20:37:06 Julian Elischer wrote:
> http://perforce.freebsd.org/chv.cgi?CH=143781
>
> Change 143781 by julian@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 */





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