Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2008 20:45:16 +0100
From:      Max Laier <max@love2party.net>
To:        FreeBSD virtualization mailing list <freebsd-virtualization@freebsd.org>
Cc:        svn-src-head@freebsd.org, freebsd-net@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, FreeBSD current mailing list <current@freebsd.org>
Subject:   Re: HEADS UP: vimage - virtualized global variables in the network stack
Message-ID:  <200812132045.17207.max@love2party.net>
In-Reply-To: <20081213191345.M97918@maildrop.int.zabbadoz.net>
References:  <200812131913.mBDJD38C037353@svn.freebsd.org> <20081213191345.M97918@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 13 December 2008 20:33:53 Bjoern A. Zeeb wrote:
...
> This state of having the variables in parallel, global and in the
> container struct, will be maintained for another (short) time until
> the entire virtualization framework is in. This is needed, so that
> all three possible states can be benchmarked from exactly the same
> code changeset.
>
>
> For developers comitting new code or changing code it is important to
> properly add virtualized variables in the way that:
> 1) the globals and externs (if needed) are added/kept in sync as both
>     a) globals under #ifdef VIMAGE_GLOBALS and b) to the appropriate
>     container struct + the V_ macro.
>     When used somewhere in code one has to use the V_foobarbaz version.

Is there (an easy) way to have the tinderbox build every other run without 
VIMAGE_GLOBALS so that the most obvious error (global available, but not in 
the container struct - or the other way around) can be warned about?

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



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