* Andre Oppermann an...@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,
Author: andre
Date: Mon Aug 16 14:24:00 2010
New Revision: 211396
URL: http://svn.freebsd.org/changeset/base/211396
Log:
Add uma_zone_get_max() to obtain the effective limit after a call
to uma_zone_set_max().
The UMA zone limit is not exactly set to the value supplied but
rounded up
On 08/17/10 00:24, Andre Oppermann wrote:
Author: andre
Date: Mon Aug 16 14:24:00 2010
New Revision: 211396
URL: http://svn.freebsd.org/changeset/base/211396
Log:
Add uma_zone_get_max() to obtain the effective limit after a call
to uma_zone_set_max().
The UMA zone limit is not