svn commit: r211396 - head/sys/vm

Ed Schouten ed at 80386.nl
Tue Aug 17 07:13:45 UTC 2010


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

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

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100817/0a5c1400/attachment.pgp


More information about the svn-src-all mailing list