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 exactly set to the value supplied but > rounded up to completely fill the backing store increment (a page > normally). This can lead to surprising situations where the number > of elements allocated from UMA is higher than the supplied limit > value. The new get function reads back the effective value so that > the supplied limit value can be adjusted to the real limit. > > Reviewed by: jeffr > MFC after: 1 week
Cool, thanks! Cheers, Lawrence _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
