K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-06T14:38:57.511475Z K 7 svn:log V 649 MFC r211396 (originally committed by andre): 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. The base code from r211396 was modified as part of this MFC in order to work correctly on FreeBSD 7. Reviewed by: jeffr END