Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 09:13:43 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Andre Oppermann <andre@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r211396 - head/sys/vm
Message-ID:  <20100817071343.GV2978@hoeg.nl>
In-Reply-To: <201008161424.o7GEO0WV000794@svn.freebsd.org>
References:  <201008161424.o7GEO0WV000794@svn.freebsd.org>

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

--Lez9QO3Seu3ycz0M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andre Oppermann <andre@FreeBSD.org> wrote:
> +	if (keg->uk_maxpages)
> +		nitems =3D keg->uk_maxpages * keg->uk_ipers;
> +	else
> +		nitems =3D 0;

So what's the actual meaning of the if-statement here? If
keg->uk_maxpages =3D=3D 0, the multiplication will always yield 0 as well,
right?

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--Lez9QO3Seu3ycz0M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxqNqcACgkQ52SDGA2eCwXgrwCfbSSlGLt3hHqSnSy9D5MOrYBB
piAAn0R1sK++BY2OstCw64sszKr6fKou
=+47z
-----END PGP SIGNATURE-----

--Lez9QO3Seu3ycz0M--



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